buildout.cfg 2.35 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
13 14
url = http://ftp.gnu.org/gnu/mpfr/mpfr-3.1.3.tar.xz
md5sum = 6969398cd2fbc56a6af570b5273c56a9
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
35 36
url = ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-0.14.tar.bz2
md5sum = acd347243fca5609e3df37dba47fd0bb
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

43
[gcc-common]
44
recipe = slapos.recipe.cmmi
45 46
url = http://ftp.gnu.org/gnu/gcc/gcc-5.2.0/gcc-5.2.0.tar.bz2
md5sum = a51bcfeb3da7dd4c623e27207ed43467
47 48 49 50 51
# make install does not work when several core are used
make-targets = install -j1

[gcc]
<= gcc-common
52 53 54
configure-options =
  --disable-bootstrap
  --disable-multilib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
55
  --with-gmp=${gmp:location}
56 57
  --with-mpfr=${mpfr:location}
  --with-mpc=${mpc:location}
58
  --enable-languages="c,c++"
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
59
  --with-isl=${isl:location}
60
environment =
61
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib
62 63

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

[gcc-fortran]
<= gcc-common
configure-options =
  --disable-bootstrap
  --disable-multilib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
82
  --with-gmp=${gmp:location}
83 84 85
  --with-mpfr=${mpfr:location}
  --with-mpc=${mpc:location}
  --enable-languages="c,c++,fortran"
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
86
  --with-isl=${isl:location}
87
environment =
88
  LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib