(self, host_dir)
return lib_list
Expand the library files to include the versions
Expand the library files to include the versions
Expand the library files to include the versions
def _get_nvidia_libs(self, host_dir):
        """Expand the library files to include the versions"""
        lib_list = []
        for lib in Config.conf['nvi_lib_list']:
            for expanded_libs in glob.glob(host_dir + '/' + lib + '*'):
                lib_list.append(expanded_libs.replace(host_dir, ''))
        Msg().out("Info: List nvidia libs", lib_list, l=Msg.DBG)
        return lib_list
def _get_nvidia_libs ( self , host_dir ) : lib_list = [ ] for lib in Config . conf [ 'nvi_lib_list' ] : for expanded_libs in glob . glob ( host_dir + '/' + lib + '*' ) : lib_list . append ( expanded_libs . replace ( host_dir , '' ) ) Msg ( ) . out ( "Info: List nvidia libs" , lib_list , l = Msg . DBG ) return lib_list