diff options
author | Robert Cohn <rscohn2@gmail.com> | 2021-03-26 17:16:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 14:16:06 -0700 |
commit | 7ecaeba33a4fe559f6122953581e533720cb2404 (patch) | |
tree | c4909b18da9b1a6ea46d1328fe97afe039d17ce7 | |
parent | 110b50676d3c8608b10c2f3d6b1e1545b6cee17f (diff) | |
download | spack-7ecaeba33a4fe559f6122953581e533720cb2404.tar.gz spack-7ecaeba33a4fe559f6122953581e533720cb2404.tar.bz2 spack-7ecaeba33a4fe559f6122953581e533720cb2404.tar.xz spack-7ecaeba33a4fe559f6122953581e533720cb2404.zip |
Add select mkl libs (#22580)
-rw-r--r-- | var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py b/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py index 7f2bec21bd..fff8432ccb 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py @@ -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) |