about summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc-4.4
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-07-18 21:37:23 +0000
committerLudovic Courtès <ludo@gnu.org>2009-07-18 21:37:23 +0000
commit34bd10567ba7852ca9ce3b95b668e8a0f3bf3f24 (patch)
tree16e85d4ea89fee58ab790d75e756435c28b80b27 /pkgs/development/compilers/gcc-4.4
parent39efe36121ea9ac86b463d01bbe4cd60aeedc80f (diff)
downloadnixlib-34bd10567ba7852ca9ce3b95b668e8a0f3bf3f24.tar
nixlib-34bd10567ba7852ca9ce3b95b668e8a0f3bf3f24.tar.gz
nixlib-34bd10567ba7852ca9ce3b95b668e8a0f3bf3f24.tar.bz2
nixlib-34bd10567ba7852ca9ce3b95b668e8a0f3bf3f24.tar.lz
nixlib-34bd10567ba7852ca9ce3b95b668e8a0f3bf3f24.tar.xz
nixlib-34bd10567ba7852ca9ce3b95b668e8a0f3bf3f24.tar.zst
nixlib-34bd10567ba7852ca9ce3b95b668e8a0f3bf3f24.zip
GCC 4.4: Enable Graphite by building against PPL and GLooG.
svn path=/nixpkgs/trunk/; revision=16424
Diffstat (limited to 'pkgs/development/compilers/gcc-4.4')
-rw-r--r--pkgs/development/compilers/gcc-4.4/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gcc-4.4/default.nix b/pkgs/development/compilers/gcc-4.4/default.nix
index 2b26b9b01a32..f55f62a9fa6e 100644
--- a/pkgs/development/compilers/gcc-4.4/default.nix
+++ b/pkgs/development/compilers/gcc-4.4/default.nix
@@ -5,6 +5,7 @@
 , staticCompiler ? false
 , texinfo ? null
 , gmp, mpfr, gettext
+, ppl ? null, cloogppl ? null  # used by the Graphite optimization framework
 , bison ? null, flex ? null
 , zlib ? null, boehmgc ? null
 , enableMultilib ? false
@@ -68,6 +69,8 @@ stdenv.mkDerivation ({
   inherit noSysDirs profiledCompiler staticCompiler;
 
   buildInputs = [ texinfo gmp mpfr gettext ]
+    ++ (optional (ppl != null) ppl)
+    ++ (optional (cloogppl != null) cloogppl)
     ++ (optionals langTreelang [bison flex])
     ++ (optional (zlib != null) zlib)
     ++ (optional (boehmgc != null) boehmgc)
@@ -75,6 +78,8 @@ stdenv.mkDerivation ({
 
   configureFlags = "
     ${if enableMultilib then "" else "--disable-multilib"}
+    ${if ppl != null then "--with-ppl=${ppl}" else ""}
+    ${if cloogppl != null then "--with-cloog=${cloogppl}" else ""}
     --disable-libstdcxx-pch
     --without-included-gettext
     --with-system-zlib