diff options
author | Robert Cohn <robert.s.cohn@intel.com> | 2021-11-12 02:12:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-11 23:12:48 -0800 |
commit | c91074514afe34700eada63a69056bd7ac20902b (patch) | |
tree | a7501a4fb73175e7a950cf1c395d092d4c456a36 /var | |
parent | c8fdce28e6a505a3af355a43f36c8e214e98d86b (diff) | |
download | spack-c91074514afe34700eada63a69056bd7ac20902b.tar.gz spack-c91074514afe34700eada63a69056bd7ac20902b.tar.bz2 spack-c91074514afe34700eada63a69056bd7ac20902b.tar.xz spack-c91074514afe34700eada63a69056bd7ac20902b.zip |
intel-oneapi-mkl: define MKLROOT for dependents (#27302)
Fixes #27260
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py | 3 |
1 files changed, 3 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 2a5e283602..44d443f7b9 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py @@ -66,3 +66,6 @@ class IntelOneapiMkl(IntelOneApiLibraryPackage): join_path(self.component_path, 'lib', 'intel64')) libs += find_system_libraries(['libpthread', 'libm', 'libdl']) return libs + + def setup_dependent_build_environment(self, env, dependent_spec): + env.set('MKLROOT', self.component_path) |