diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2015-11-30 17:18:57 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2015-11-30 17:18:57 +0100 |
commit | 104f98c12af2f3782d64f9099c694f1fad339aa2 (patch) | |
tree | 3b8c45be4c6c7b58196897d05161bf741846b7b9 /pkgs/development/libraries/fftw | |
parent | 0ca454570be6c55395f767a8606f29f11222ad1a (diff) |
fftw: add fftwLongDouble, disable SSE2 in that case
Diffstat (limited to 'pkgs/development/libraries/fftw')
-rw-r--r-- | pkgs/development/libraries/fftw/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/fftw/default.nix b/pkgs/development/libraries/fftw/default.nix index 2bcc1cd69a703..dfa4541e34b73 100644 --- a/pkgs/development/libraries/fftw/default.nix +++ b/pkgs/development/libraries/fftw/default.nix @@ -20,7 +20,8 @@ stdenv.mkDerivation rec { ] ++ optional (precision != "double") "--enable-${precision}" # all x86_64 have sse2 - ++ optional stdenv.isx86_64 "--enable-sse2" + # however, not all float sizes fit + ++ optional (stdenv.isx86_64 && (precision == "single" || precision == "double") ) "--enable-sse2" ++ optional stdenv.cc.isGNU "--enable-openmp"; enableParallelBuilding = true; |