From c1440aaa17d33849e3095ebab31ede721afb0438 Mon Sep 17 00:00:00 2001 From: Qian Jianhua Date: Sat, 8 Oct 2022 14:20:51 +0800 Subject: [PATCH] py-blis: fix environment settings (#32913) --- var/spack/repos/builtin/packages/py-blis/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/py-blis/package.py b/var/spack/repos/builtin/packages/py-blis/package.py index 7619072ab7..a2a2f6bb12 100644 --- a/var/spack/repos/builtin/packages/py-blis/package.py +++ b/var/spack/repos/builtin/packages/py-blis/package.py @@ -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")