summary refs log tree commit diff
path: root/pkgs/development/libraries/fftw
diff options
context:
space:
mode:
authorJack Cummings <jack@mudshark.org>2013-03-31 21:33:21 -0700
committerJack Cummings <jack@mudshark.org>2013-03-31 21:33:21 -0700
commit437419a12485adf2a07e2185bc2845dad31a6099 (patch)
tree0b0c0cb613753db8ec83593bc7105b27597a927a /pkgs/development/libraries/fftw
parent98ba667094f3395cd0e4999693541285ed5e0478 (diff)
downloadnixpkgs-437419a12485adf2a07e2185bc2845dad31a6099.tar
nixpkgs-437419a12485adf2a07e2185bc2845dad31a6099.tar.gz
nixpkgs-437419a12485adf2a07e2185bc2845dad31a6099.tar.bz2
nixpkgs-437419a12485adf2a07e2185bc2845dad31a6099.tar.lz
nixpkgs-437419a12485adf2a07e2185bc2845dad31a6099.tar.xz
nixpkgs-437419a12485adf2a07e2185bc2845dad31a6099.tar.zst
nixpkgs-437419a12485adf2a07e2185bc2845dad31a6099.zip
rawtherapee-4.0.10 . Add a 'float' option to fftw, as this version of rawtherapee requires it.
Diffstat (limited to 'pkgs/development/libraries/fftw')
-rw-r--r--pkgs/development/libraries/fftw/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/fftw/default.nix b/pkgs/development/libraries/fftw/default.nix
index 6b4fbe7df6c..e096c5fa94f 100644
--- a/pkgs/development/libraries/fftw/default.nix
+++ b/pkgs/development/libraries/fftw/default.nix
@@ -1,4 +1,4 @@
-{fetchurl, stdenv, builderDefs, stringsWithDeps, singlePrecision ? false, pthreads ? false}:
+{fetchurl, stdenv, builderDefs, stringsWithDeps, singlePrecision ? false, pthreads ? false, float ? false}:
 let
   version = "3.3.2";
   localDefs = builderDefs.passthru.function { 
@@ -12,6 +12,7 @@ let
                         # some distros seem to be shipping both versions within the same package?
                         # why does --enable-float still result in ..3f.so instead of ..3.so?
                    ++ (if singlePrecision then [ "--enable-single" ] else [ ])
+                   ++ (if float then [ "--enable-float" ] else [ ])
 		   ++ (stdenv.lib.optional (!pthreads) "--enable-openmp")
 		   ++ (stdenv.lib.optional pthreads "--enable-threads")
                         # I think all i686 has sse