2 # Mostly required to support languages different than C or C++
13 recipe = slapos.recipe.cmmi
14 url = http://www.mpfr.org/mpfr-3.0.1/mpfr-3.0.1.tar.bz2
15 md5sum = bfbecb2eacb6d48432ead5cfc3f7390a
17 --with-gmp=${gmp-4:location}
20 LDFLAGS=-Wl,-rpath=${gmp-4:location}/lib
23 recipe = slapos.recipe.cmmi
24 url = http://www.multiprecision.org/mpc/download/mpc-0.9.tar.gz
25 md5sum = 0d6acab8d214bd7d1fbbc593e83dd00d
27 --with-gmp=${gmp-4:location}
28 --with-mpfr=${mpfr:location}
31 LDFLAGS=-Wl,-rpath=${mpfr:location}/lib -Wl,-rpath=${gmp-4:location}/lib
34 recipe = slapos.recipe.cmmi
35 # we should use version 0.10.x for gcc-4.5
36 url = http://bugseng.com/products/ppl/download/ftp/releases/0.10.2/ppl-0.10.2.tar.bz2
37 md5sum = 5667111f53150618b0fa522ffc53fc3e
39 --with-libgmp-prefix=${gmp-4:location}
40 --with-libgmpxx-prefix=${gmp-4:location}
43 PATH=${m4:location}/bin:%(PATH)s
44 LDFLAGS=-Wl,-rpath=${gmp-4:location}/lib
47 recipe = slapos.recipe.cmmi
48 url = ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.9.tar.gz
49 md5sum = 806e001d1b1a6b130069ff6274900af5
51 --with-gmp=${gmp-4:location}
52 --with-ppl=${ppl:location}
55 PATH=${m4:location}/bin:%(PATH)s
56 LDFLAGS=-Wl,-rpath=${gmp-4:location}/lib -Wl,-rpath=${ppl:location}/lib
59 hack-revision = ${gcc-interconnection-workaround:hack-revision}
60 recipe = hexagonit.recipe.download
61 url = http://www.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.5.3/gcc-4.5.3.tar.bz2
62 md5sum = 8e0b5c12212e185f3e4383106bfa9cc6
63 strip-top-level-dir = True
64 destination = ${gcc-source:location}
67 hack-revision = ${gcc-interconnection-workaround:hack-revision}
68 location = ${buildout:parts-directory}/${:_buildout_section_name_}
71 recipe = hexagonit.recipe.download
72 md5sum = 819e6735270c8a432b0512b49f40219f
73 url = ${:_profile_base_location_}/${:filename}
74 filename = ${:_buildout_section_name_}
78 hack-revision = ${gcc-interconnection-workaround:hack-revision}
80 ${gcc-download:location}
81 recipe = slapos.recipe.cmmi
82 path = ${gcc-source:location}
83 md5sum = bb3265edf0fa7543e50cedb93e04e427
85 ${gcc-multiarch.patch:location}/${gcc-multiarch.patch:filename}
87 configure-command = make clean \\; make distclean \\; ./configure
90 --enable-languages="c,c++"
92 --with-gmp=${gmp-4:location}
93 --with-mpfr=${mpfr:location}
94 --with-mpc=${mpc:location}
95 --with-ppl=${ppl:location}
96 --with-cloog=${cloog-ppl:location}
97 --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
99 LDFLAGS=-Wl,-rpath=${mpfr:location}/lib -Wl,-rpath=${gmp-4:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${ppl:location}/lib -Wl,-rpath=${cloog-ppl:location}/lib
100 # make install does not work when several core are used
101 make-targets = install -j1
104 recipe = slapos.recipe.cmmi
105 url = http://ftp.gnu.org/gnu/gcc/gcc-4.5.4/gcc-core-4.5.4.tar.bz2
106 md5sum = ca62e442629a9a7710f5d797bf1b521c
108 ${gcc-multiarch.patch:location}/${gcc-multiarch.patch:filename}
114 --with-gmp=${gmp-4:location}
115 --with-mpfr=${mpfr:location}
116 --with-mpc=${mpc:location}
120 LDFLAGS=-Wl,-rpath=${mpfr:location}/lib -Wl,-rpath=${gmp-4:location}/lib -Wl,-rpath=${mpc:location}/lib
121 # make install does not work when several core are used
122 make-targets = install -j1
124 [gcc-interconnection-workaround]
125 # gcc parts are interconnected, so buildout is not capable to clean them up
126 # until gcc will be simplified by using more robust build recipe (like
127 # slapos.recipe.build) each time any of parts which reuses this one gets updated
128 # the hack-revision have to be increased