support pkgconfig for mkl (#33382)

This commit is contained in:
Robert Cohn 2022-10-27 17:01:59 -04:00 committed by GitHub
parent 600948558d
commit 3e966f2547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,6 +129,7 @@ def setup_run_environment(self, env):
def setup_dependent_build_environment(self, env, dependent_spec):
env.set("MKLROOT", self.component_prefix)
env.append_path("PKG_CONFIG_PATH", self.component_prefix.lib.pkgconfig)
def _find_mkl_libs(self, shared):
libs = []