mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
fftw: add fftwLongDouble, disable SSE2 in that case
This commit is contained in:
parent
0ca454570b
commit
104f98c12a
|
@ -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;
|
||||
|
|
|
@ -6318,6 +6318,7 @@ let
|
|||
fftw = callPackage ../development/libraries/fftw { };
|
||||
fftwSinglePrec = fftw.override { precision = "single"; };
|
||||
fftwFloat = fftwSinglePrec; # the configure option is just an alias
|
||||
fftwLongDouble = fftw.override { precision = "long-double"; };
|
||||
|
||||
filter-audio = callPackage ../development/libraries/filter-audio {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue