File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,22 @@ endif
4343
4444####### Getting HiCR dependency 
4545
46- HiCRDistributedBackend =  []
4746if  ' cloudr' in  engines or  ' mpi' in  engines
48-   HiCRDistributedBackend +=  [' mpi' 
47+   if  ' mpi' not  in  additionalHiCRBackends
48+     additionalHiCRBackends +=  [' mpi' 
49+   endif 
4950endif 
5051
5152# Selecting default HiCR Backends 
52- HiCRBackends =  [' hwloc' ' pthreads' ' boost' +  additionalHiCRBackends
53+ HiCRBackends =  [' hwloc' ' pthreads' ' boost' 
54+ 
55+ # adding additional backends but only if not already listed 
56+ foreach  b  : additionalHiCRBackends
57+   if  b not  in  HiCRBackends
58+     HiCRBackends +=  [b]
59+   endif 
60+ endforeach 
61+ 
5362HiCRFrontends =  [ ] +  additionalHiCRFrontends
5463HiCRProject =  subproject (
5564  ' HiCR' 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments