File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -401,6 +401,18 @@ def get_system_libs(self):
401401            else :
402402                ignored_system_deps .append ('%s (Python package %s)'  %  (tf_name , pkg_name ))
403403
404+         # If we use OpenSSL (potentially as a wrapper) somewhere in the chain we must tell TF to use it too 
405+         openssl_root  =  get_software_root ('OpenSSL' )
406+         if  openssl_root :
407+             if  'boringssl'  not  in system_libs :
408+                 system_libs .append ('boringssl' )
409+             incpath  =  os .path .join (openssl_root , 'include' )
410+             if  os .path .exists (incpath ):
411+                 cpaths .append (incpath )
412+             libpath  =  get_software_libdir (dep_name )
413+             if  libpath :
414+                 libpaths .append (os .path .join (openssl_root , libpath ))
415+ 
404416        if  ignored_system_deps :
405417            print_warning ('%d TensorFlow dependencies have not been resolved by EasyBuild. Check the log for details.' ,
406418                          len (ignored_system_deps ))
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments