intel-oneapi-mkl: define MKLROOT for dependents (#27302)

Fixes #27260
This commit is contained in:
Robert Cohn
2021-11-12 02:12:48 -05:00
committed by GitHub
parent c8fdce28e6
commit c91074514a

View File

@@ -66,3 +66,6 @@ def libs(self):
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)