summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2022-11-30 14:29:20 -0600
committerGitHub <noreply@github.com>2022-11-30 12:29:20 -0800
commit99fcc5760755e41f2af5431bcafc4fd3f326f47d (patch)
tree99e4564126754ba537093d88c5c63399aa37a0bb /var
parent5a394d37b733a3a2743a76b67e752941ec209b14 (diff)
downloadspack-99fcc5760755e41f2af5431bcafc4fd3f326f47d.tar.gz
spack-99fcc5760755e41f2af5431bcafc4fd3f326f47d.tar.bz2
spack-99fcc5760755e41f2af5431bcafc4fd3f326f47d.tar.xz
spack-99fcc5760755e41f2af5431bcafc4fd3f326f47d.zip
py-scipy: hardcode to use blis.pc (#34171)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-scipy/package.py15
1 files changed, 5 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/py-scipy/package.py b/var/spack/repos/builtin/packages/py-scipy/package.py
index 41d60bc946..b36fc1bd4a 100644
--- a/var/spack/repos/builtin/packages/py-scipy/package.py
+++ b/var/spack/repos/builtin/packages/py-scipy/package.py
@@ -182,19 +182,14 @@ class PyScipy(PythonPackage):
blas = spec["blas"].libs.names[0]
lapack = spec["lapack"].libs.names[0]
# FIXME: MKL support doesn't work, why?
- if (
- spec["blas"].name == "intel-mkl"
- or spec["blas"].name == "intel-parallel-studio"
- or spec["blas"].name == "intel-oneapi-mkl"
- ):
+ if spec["blas"].name in ["intel-mkl", "intel-parallel-studio", "intel-oneapi-mkl"]:
blas = "mkl-dynamic-lp64-seq"
- if (
- spec["lapack"].name == "intel-mkl"
- or spec["lapack"].name == "intel-parallel-studio"
- or spec["lapack"].name == "intel-oneapi-mkl"
- ):
+ if spec["lapack"].name in ["intel-mkl", "intel-parallel-studio", "intel-oneapi-mkl"]:
lapack = "mkl-dynamic-lp64-seq"
+ if spec["blas"].name in ["blis", "amdblis"]:
+ blas = "blis"
+
args = [
"setup",
"build",