buildout.cfg 2.81 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
  ../xz-utils/buildout.cfg
7 8

parts =
9
  gcc
10 11

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

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

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

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
43
[cloog]
44
recipe = slapos.recipe.cmmi
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
45 46
url = ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.gz
md5sum = e34fca0540d840e5d0f6427e98c92252
47
configure-options =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
48 49
  --with-gmp-prefix=${gmp:location}
  --with-isl-prefix=${isl:location}
50 51
  --disable-static
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
52
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib
53

54
[gcc-common]
55
recipe = slapos.recipe.cmmi
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
56 57
url = http://ftp.gnu.org/gnu/gcc/gcc-4.9.2/gcc-4.9.2.tar.bz2
md5sum = 4df8ee253b7f3863ad0b86359cd39c43
58 59 60 61 62
# make install does not work when several core are used
make-targets = install -j1

[gcc]
<= gcc-common
63 64 65
configure-options =
  --disable-bootstrap
  --disable-multilib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
66
  --with-gmp=${gmp:location}
67 68
  --with-mpfr=${mpfr:location}
  --with-mpc=${mpc:location}
69
  --enable-languages="c,c++"
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
70 71
  --with-isl=${isl:location}
  --with-cloog=${cloog:location}
72
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
73
  LDFLAGS=-Wl,-rpath=${cloog:location}/lib -Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib
74 75

[gcc-minimal]
76
<= gcc-common
77 78 79
configure-options =
  --disable-bootstrap
  --disable-multilib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
80
  --with-gmp=${gmp:location}
81 82
  --with-mpfr=${mpfr:location}
  --with-mpc=${mpc:location}
83
  --enable-languages=c
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
84
  --without-isl
85 86
  --without-cloog
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
87
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib
88 89 90 91 92 93

[gcc-fortran]
<= gcc-common
configure-options =
  --disable-bootstrap
  --disable-multilib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
94
  --with-gmp=${gmp:location}
95 96 97
  --with-mpfr=${mpfr:location}
  --with-mpc=${mpc:location}
  --enable-languages="c,c++,fortran"
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
98 99
  --with-isl=${isl:location}
  --with-cloog=${cloog:location}
100
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
101
  LDFLAGS=-Wl,-rpath=${cloog:location}/lib -Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib