From 6dd3c78924fa80ab9daa5594d4346ad19e16566a Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 10 Nov 2022 13:51:17 +0000 Subject: elpa: Fix build on ppc64le (#33639) --- var/spack/repos/builtin/packages/elpa/package.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'var') 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: -- cgit v1.2.3-70-g09d2