diff options
author | markuskowa | 2022-11-21 11:46:51 +0100 |
---|---|---|
committer | GitHub | 2022-11-21 11:46:51 +0100 |
commit | 379056838fb8654aa1bdc7c7f201c47e40886eda (patch) | |
tree | 4efb1967b61808044c447391437ff072b59938d9 /pkgs/development/libraries/elpa/default.nix | |
parent | 17933082cc2c62fb64131764fd38af7577b3a1a2 (diff) | |
parent | 4a0ceec14cf08c558d343194782ddf9aa04dad0a (diff) |
Merge pull request #202172 from markuskowa/fix-elpa
elpa: explicity disable the use of SSE assembly on non x86
Diffstat (limited to 'pkgs/development/libraries/elpa/default.nix')
-rw-r--r-- | pkgs/development/libraries/elpa/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/elpa/default.nix b/pkgs/development/libraries/elpa/default.nix index b3bde19fed02..11e8ac1309f6 100644 --- a/pkgs/development/libraries/elpa/default.nix +++ b/pkgs/development/libraries/elpa/default.nix @@ -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}" ]; |