Add select mkl libs (#22580)

This commit is contained in:
Robert Cohn 2021-03-26 17:16:06 -04:00 committed by GitHub
parent 110b50676d
commit 7ecaeba33a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,3 +33,9 @@ class IntelOneapiMkl(IntelOneApiLibraryPackage):
@property
def component_dir(self):
return 'mkl'
@property
def libs(self):
lib_path = '{0}/{1}/latest/lib/intel64'.format(self.prefix, self.component_dir)
mkl_libs = ['libmkl_intel_ilp64', 'libmkl_sequential', 'libmkl_core']
return find_libraries(mkl_libs, root=lib_path, shared=True, recursive=False)