elpa: explicity disable the use of SSE assembly on non x86

This commit is contained in:
Markus Kowalewski 2022-11-21 11:07:47 +01:00
parent c107fb66da
commit 4a0ceec14c
No known key found for this signature in database
GPG key ID: 502A248E3FB4FF48

View file

@ -69,6 +69,7 @@ stdenv.mkDerivation rec {
++ lib.optional (!avx2Support) "--disable-avx2"
++ lib.optional (!avx512Support) "--disable-avx512"
++ lib.optional (!stdenv.hostPlatform.isx86_64) "--disable-sse"
++ lib.optional (!stdenv.hostPlatform.isx86_64) "--disable-sse-assembly"
++ lib.optional stdenv.hostPlatform.isx86_64 "--enable-sse-assembly"
++ lib.optionals enableCuda [ "--enable-nvidia-gpu" "--with-NVIDIA-GPU-compute-capability=${nvidiaArch}" ];