[Erp5-report] r44673 luke - /erp5/trunk/buildout/software-profiles/gcc.cfg

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 28 18:05:56 CEST 2011


Author: luke
Date: Mon Mar 28 18:05:55 2011
New Revision: 44673

URL: http://svn.erp5.org?rev=44673&view=rev
Log:
 - profile with gcc goodies, for now to provide gcj binary

Added:
    erp5/trunk/buildout/software-profiles/gcc.cfg

Added: erp5/trunk/buildout/software-profiles/gcc.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/gcc.cfg?rev=44673&view=auto
==============================================================================
--- erp5/trunk/buildout/software-profiles/gcc.cfg (added)
+++ erp5/trunk/buildout/software-profiles/gcc.cfg [utf8] Mon Mar 28 18:05:55 2011
@@ -0,0 +1,79 @@
+# GNU C Compiler
+# Mostly required to support languages different then C or C++
+[buildout]
+extends =
+  m4.cfg
+  zip.cfg
+
+parts =
+  gcc-java
+
+[gmp]
+recipe = hexagonit.recipe.cmmi
+url = ftp://ftp.gmplib.org/pub/gmp-4.3.2/gmp-4.3.2.tar.bz2
+md5sum = dd60683d7057917e34630b4a787932e8
+# GMP does not correctly detect achitecture so it have to be given
+# as hexagonit.recipe.cmmi is using shell expansion in subproceses
+# backticks are working
+configure-options =
+  --build=`uname -m`-linux
+environment =
+  PATH=${m4:location}/bin:%(PATH)s
+
+[mpfr]
+recipe = hexagonit.recipe.cmmi
+url = http://www.mpfr.org/mpfr-current/mpfr-3.0.0.tar.bz2
+md5sum = f45bac3584922c8004a10060ab1a8f9f
+configure-options =
+  --with-gmp=${gmp:location}
+environment =
+  CPPFLAGS =-I${gmp:location}/include
+  LDFLAGS =-L${gmp:location}/lib -Wl,-rpath -Wl,${gmp:location}/lib
+
+[mpc]
+recipe = hexagonit.recipe.cmmi
+url = http://www.multiprecision.org/mpc/download/mpc-0.9.tar.gz
+md5sum = 0d6acab8d214bd7d1fbbc593e83dd00d
+configure-options =
+  --with-gmp=${gmp:location}
+  --with-mpfr=${mpfr:location}
+environment =
+  CPPFLAGS =-I${mpfr:location}/include -I${gmp:location}/include
+  LDFLAGS =-L${mpfr:location}/lib -Wl,-rpath -Wl,${mpfr:location}/lib -L${gmp:location}/lib -Wl,-rpath -Wl,${gmp:location}/lib
+
+[gcc-download]
+recipe = hexagonit.recipe.download
+url = http://www.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.5.2/gcc-4.5.2.tar.bz2
+md5sum = d6559145853fbaaa0fd7556ed93bce9a
+strip-top-level-dir = True
+destination = ${gcc-java-source:location}
+
+[gcc-java-download]
+recipe = hexagonit.recipe.download
+url = http://www.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.5.2/gcc-java-4.5.2.tar.bz2
+md5sum = fe2b647bace18dc7867a4192def46e2c
+strip-top-level-dir = True
+destination = ${gcc-java-source:location}
+
+[gcc-java-source]
+location = ${buildout:parts-directory}/${:_buildout_section_name_}
+
+[gcc-java]
+depends =
+  ${gcc-download:location}
+  ${gcc-java-download:location}
+recipe = hexagonit.recipe.cmmi
+path = ${gcc-java-source:location}
+md5sum = bb3265edf0fa7543e50cedb93e04e427
+configure-command = make clean ; ./configure
+configure-options =
+  --enable-languages=java
+  --disable-multilib
+  --with-gmp=${gmp:location}
+  --with-mpfr=${mpfr:location}
+  --with-mpc=${mpc:location}
+
+environment =
+  CPPFLAGS =-I${mpfr:location}/include -I${gmp:location}/include -I${mpc:location}/include
+  LDFLAGS =-L${mpfr:location}/lib -Wl,-rpath -Wl,${mpfr:location}/lib -L${gmp:location}/lib -Wl,-rpath -Wl,${gmp:location}/lib -Wl,-rpath -Wl,${mpc:location}/lib
+  PATH=${zip:location}/bin:%(PATH)s



More information about the Erp5-report mailing list