py-blis: fix environment settings (#32913)

This commit is contained in:
Qian Jianhua 2022-10-08 14:20:51 +08:00 committed by GitHub
parent 5ca32d82e4
commit c1440aaa17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,3 +18,7 @@ class PyBlis(PythonPackage):
depends_on("py-setuptools", type="build")
depends_on("py-numpy@1.15:", type=("build", "run"))
def setup_build_environment(self, env):
env.set("BLIS_COMPILER", spack_cc)
env.set("BLIS_ARCH", "generic")