elpa: Fix build on ppc64le (#33639)
This commit is contained in:
parent
5b080d63fb
commit
6dd3c78924
@ -135,13 +135,15 @@ def configure_args(self):
|
|||||||
options += self.with_or_without("mpi")
|
options += self.with_or_without("mpi")
|
||||||
|
|
||||||
# TODO: --disable-sse-assembly, --enable-sparc64, --enable-neon-arch64
|
# 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:
|
for feature in simd_features:
|
||||||
msg = "--enable-{0}" if feature in spec.target else "--disable-{0}"
|
msg = "--enable-{0}" if feature in spec.target else "--disable-{0}"
|
||||||
options.append(msg.format(feature))
|
options.append(msg.format(feature))
|
||||||
|
|
||||||
if spec.target.family == "aarch64":
|
if spec.target.family != "x86_64":
|
||||||
options.append("--disable-sse-assembly")
|
options.append("--disable-sse-assembly")
|
||||||
|
|
||||||
if "%aocc" in spec:
|
if "%aocc" in spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user