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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)