buildout.cfg 2.7 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 =
5
  ../gmp/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
6 7
  ../perl/buildout.cfg
  ../tar/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
8
  ../xz-utils/buildout.cfg
9
  ../binutils/buildout.cfg
10 11

parts =
12
  gcc
13 14

[mpfr]
15
recipe = slapos.recipe.cmmi
16 17
url = http://ftp.gnu.org/gnu/mpfr/mpfr-3.1.3.tar.xz
md5sum = 6969398cd2fbc56a6af570b5273c56a9
18
configure-options =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
19
  --with-gmp=${gmp:location}
20
  --disable-static
21
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
22 23
  PATH=${xz-utils:location}/bin:%(PATH)s
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib
24 25

[mpc]
26
recipe = slapos.recipe.cmmi
27 28
url = http://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
md5sum = d6a1d5f8ddea3abd2cc3e98f58352d26
29
configure-options =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
30
  --with-gmp=${gmp:location}
31
  --with-mpfr=${mpfr:location}
32
  --disable-static
33
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
34
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${mpfr:location}/lib
35

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
36
[isl]
37
recipe = slapos.recipe.cmmi
38 39
url = ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
md5sum = ac1f25a0677912952718a51f5bc20f32
40
configure-options =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
41
  --with-gmp-prefix=${gmp:location}
42 43
  --disable-static
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
44
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib
45

46
[gcc-common]
47
recipe = slapos.recipe.cmmi
48 49
url = http://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2
md5sum = 4c626ac2a83ef30dfb9260e6f59c2b30
50 51 52 53 54
# make install does not work when several core are used
make-targets = install -j1

[gcc]
<= gcc-common
55 56 57
configure-options =
  --disable-bootstrap
  --disable-multilib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
58
  --with-gmp=${gmp:location}
59 60
  --with-mpfr=${mpfr:location}
  --with-mpc=${mpc:location}
61
  --enable-languages="c,c++"
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
62
  --with-isl=${isl:location}
63 64 65
  --with-ld=${binutils:location}/bin/ld
  --with-nm=${binutils:location}/bin/nm
  --with-as=${binutils:location}/bin/as
66
environment =
67
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
68
  PATH=${perl:location}/bin:${tar:location}/bin:%(PATH)s
69 70

[gcc-minimal]
71
<= gcc-common
72 73 74
configure-options =
  --disable-bootstrap
  --disable-multilib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
75
  --with-gmp=${gmp:location}
76 77
  --with-mpfr=${mpfr:location}
  --with-mpc=${mpc:location}
78
  --enable-languages=c
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
79
  --without-isl
80 81
  --without-cloog
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
82
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
83
  PATH=${perl:location}/bin:${tar:location}/bin:%(PATH)s
84 85 86 87 88 89

[gcc-fortran]
<= gcc-common
configure-options =
  --disable-bootstrap
  --disable-multilib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
90
  --with-gmp=${gmp:location}
91 92 93
  --with-mpfr=${mpfr:location}
  --with-mpc=${mpc:location}
  --enable-languages="c,c++,fortran"
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
94
  --with-isl=${isl:location}
95
environment =
96
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
97
  PATH=${perl:location}/bin:${tar:location}/bin:%(PATH)s