diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/intel-mkl/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/intel-mkl/package.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/intel-mkl/package.py b/var/spack/repos/builtin/packages/intel-mkl/package.py index 2ed678df1f..e447d88894 100644 --- a/var/spack/repos/builtin/packages/intel-mkl/package.py +++ b/var/spack/repos/builtin/packages/intel-mkl/package.py @@ -6,6 +6,7 @@ import sys from spack import * +from spack.build_systems.intel import debug_print class IntelMkl(IntelPackage): @@ -64,3 +65,16 @@ class IntelMkl(IntelPackage): if sys.platform == 'darwin': # there is no libmkl_gnu_thread on macOS conflicts('threads=openmp', when='%gcc') + + @property + def libs(self): + libs = LibraryList([]) + if self.provides('blas'): + libs = self.blas_libs + if self.provides('lapack'): + libs = self.lapack_libs + libs + if self.provides('scalapack'): + libs = self.scalapack_libs + libs + + debug_print(libs) + return libs |