summary refs log tree commit diff
path: root/pkgs/development/libraries/cloog-ppl
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2011-12-14 14:31:56 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2011-12-14 14:31:56 +0000
commitcfde88976ba4cddd01b1bb28b40afd12ea93a11d (patch)
tree71b2dcebf820baafe7e54114f37e274e2a01da47 /pkgs/development/libraries/cloog-ppl
parent9eb4c4ddef57a82385de4ba7bf45e798d7ec6cbf (diff)
downloadnixpkgs-cfde88976ba4cddd01b1bb28b40afd12ea93a11d.tar
nixpkgs-cfde88976ba4cddd01b1bb28b40afd12ea93a11d.tar.gz
nixpkgs-cfde88976ba4cddd01b1bb28b40afd12ea93a11d.tar.bz2
nixpkgs-cfde88976ba4cddd01b1bb28b40afd12ea93a11d.tar.lz
nixpkgs-cfde88976ba4cddd01b1bb28b40afd12ea93a11d.tar.xz
nixpkgs-cfde88976ba4cddd01b1bb28b40afd12ea93a11d.tar.zst
nixpkgs-cfde88976ba4cddd01b1bb28b40afd12ea93a11d.zip
* Streamline the stdenv bootstrap and resulting closure by removing
  some redundant builds (e.g., GMP was built three times).
* Updated GMP to 5.0.2.
* Updated PPL to 0.11.2.
* Remove ad hoc flags to build GCC's dependencies statically.
  Instead, use the ‘makeStaticLibraries’ stdenv adapter.
* Build GMP with C++ support by default.

svn path=/nixpkgs/branches/stdenv-updates/; revision=30891
Diffstat (limited to 'pkgs/development/libraries/cloog-ppl')
-rw-r--r--pkgs/development/libraries/cloog-ppl/default.nix18
1 files changed, 3 insertions, 15 deletions
diff --git a/pkgs/development/libraries/cloog-ppl/default.nix b/pkgs/development/libraries/cloog-ppl/default.nix
index d0e4083788b..d9dae7bfd41 100644
--- a/pkgs/development/libraries/cloog-ppl/default.nix
+++ b/pkgs/development/libraries/cloog-ppl/default.nix
@@ -1,15 +1,4 @@
-{ fetchurl, stdenv, ppl, static ? false }:
-
-let
-
-  # --with-host-libstdcxx helps when *ppl* is built statically.
-  # But I will suppose that this is statically built only when ppl is also
-  # statically built.
-  staticFlags =
-    assert static -> ppl.dontDisableStatic == true;
-    if static then " --enable-static --disable-shared --with-host-libstdcxx=-lstdc++" else "";
-    
-in
+{ fetchurl, stdenv, ppl }:
 
 stdenv.mkDerivation rec {
   name = "cloog-ppl-0.15.11";
@@ -21,11 +10,10 @@ stdenv.mkDerivation rec {
 
   propagatedBuildInputs = [ ppl ];
 
-  configureFlags = "--with-ppl=${ppl}" + staticFlags;
-  dontDisableStatic = if static then true else false;
+  configureFlags = "--with-ppl=${ppl}";
 
   crossAttrs = {
-    configureFlags = "--with-ppl=${ppl.hostDrv}" + staticFlags;
+    configureFlags = "--with-ppl=${ppl.hostDrv}";
   };
 
   doCheck = true;