buildout.cfg 1.44 KB
Newer Older
1
# GNU C Compiler
Marco Mariani's avatar
Marco Mariani committed
2
# Mostly required to support languages different than C or C++
3 4
[buildout]
extends =
Nicolas Wavrant's avatar
Nicolas Wavrant committed
5
  ../gettext/buildout.cfg
6
  ../gmp/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
7 8
  ../perl/buildout.cfg
  ../tar/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
9
  ../xz-utils/buildout.cfg
10
  ../binutils/buildout.cfg
11 12

parts =
13
  gcc
14

15
[gcc-common]
16
recipe = slapos.recipe.cmmi
17 18
url = http://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2
md5sum = 4c626ac2a83ef30dfb9260e6f59c2b30
19 20 21 22 23
# make install does not work when several core are used
make-targets = install -j1

[gcc]
<= gcc-common
24 25 26
configure-options =
  --disable-bootstrap
  --disable-multilib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
27
  --with-gmp=${gmp:location}
28 29
  --with-mpfr=${mpfr:location}
  --with-mpc=${mpc:location}
30
  --enable-languages="c,c++,fortran"
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
31
  --with-isl=${isl:location}
32 33
  --with-ld=${binutils:location}/bin/ld
  --with-as=${binutils:location}/bin/as
34
environment =
35
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib
Nicolas Wavrant's avatar
Nicolas Wavrant committed
36
  PATH=${binutils:location}/bin:${gettext:location}/bin:${perl:location}/bin:${tar:location}/bin:%(PATH)s
37 38

[gcc-minimal]
39
<= gcc-common
40 41 42
configure-options =
  --disable-bootstrap
  --disable-multilib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
43
  --with-gmp=${gmp:location}
44 45
  --with-mpfr=${mpfr:location}
  --with-mpc=${mpc:location}
46
  --enable-languages=c
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
47
  --without-isl
48 49
  --without-cloog
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
50
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
51
  PATH=${perl:location}/bin:${tar:location}/bin:%(PATH)s