summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Love <dave.love@manchester.ac.uk>2022-11-10 13:51:17 +0000
committerGitHub <noreply@github.com>2022-11-10 14:51:17 +0100
commit6dd3c78924fa80ab9daa5594d4346ad19e16566a (patch)
tree0c25ef83e41cd49a75469d8d8a4c920a77cdbc6f
parent5b080d63fb9a3163b7bc40687322706975272a13 (diff)
downloadspack-6dd3c78924fa80ab9daa5594d4346ad19e16566a.tar.gz
spack-6dd3c78924fa80ab9daa5594d4346ad19e16566a.tar.bz2
spack-6dd3c78924fa80ab9daa5594d4346ad19e16566a.tar.xz
spack-6dd3c78924fa80ab9daa5594d4346ad19e16566a.zip
elpa: Fix build on ppc64le (#33639)
-rw-r--r--var/spack/repos/builtin/packages/elpa/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/elpa/package.py b/var/spack/repos/builtin/packages/elpa/package.py
index 7b987b029f..e88c11332c 100644
--- a/var/spack/repos/builtin/packages/elpa/package.py
+++ b/var/spack/repos/builtin/packages/elpa/package.py
@@ -135,13 +135,15 @@ class Elpa(AutotoolsPackage, CudaPackage, ROCmPackage):
options += self.with_or_without("mpi")
# TODO: --disable-sse-assembly, --enable-sparc64, --enable-neon-arch64
- simd_features = ["vsx", "sse", "avx", "avx2", "avx512", "sve128", "sve256", "sve512"]
+ # Don't include vsx; as of 2022.05 it fails (reported upstream).
+ # Altivec SSE intrinsics are used anyway.
+ simd_features = ["sse", "avx", "avx2", "avx512", "sve128", "sve256", "sve512"]
for feature in simd_features:
msg = "--enable-{0}" if feature in spec.target else "--disable-{0}"
options.append(msg.format(feature))
- if spec.target.family == "aarch64":
+ if spec.target.family != "x86_64":
options.append("--disable-sse-assembly")
if "%aocc" in spec: