buildout.cfg 1.45 KB
Newer Older
Marco Mariani's avatar
Marco Mariani committed
1 2
[buildout]
extends =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
3
  ../bzip2/buildout.cfg
Marco Mariani's avatar
Marco Mariani committed
4
  ../gcc/buildout.cfg
5
  ../openblas/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
6 7 8 9
  ../pcre/buildout.cfg
  ../readline/buildout.cfg
  ../xz-utils/buildout.cfg
  ../zlib/buildout.cfg
Marco Mariani's avatar
Marco Mariani committed
10 11 12 13 14 15

parts =
  r-language

[r-language]
recipe = slapos.recipe.cmmi
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
16 17
url = http://cran.univ-paris1.fr/src/base/R-3/R-3.2.1.tar.gz
md5sum = c2aac8b40f84e08e7f8c9068de9239a3
Marco Mariani's avatar
Marco Mariani committed
18 19
configure-options =
  --enable-R-shlib
20 21
  --enable-BLAS-shlib
  --with-blas="-lopenblas"
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
22 23 24 25 26 27 28 29 30 31 32 33
  --with-readline=yes
  --without-tcltk
  --without-cairo
  --without-libpng
  --without-jpeglib
  --without-libtiff
  --with-system-zlib
  --with-system-bzlib
  --with-system-pcre
  --with-system-xz
  --without-ICU
  --without-x
Marco Mariani's avatar
Marco Mariani committed
34
environment =
35
  PATH=${gcc:location}/bin:%(PATH)s
36
  CPPFLAGS=-I${bzip2:location}/include -I${openblas:location}/include -I${pcre:location}/include -I${readline:location}/include -I${ncurses:location}/include -I${xz-utils:location}/include -I${zlib:location}/include
37
  LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib -L${gcc:location}/lib64 -Wl,-rpath=${gcc:location}/lib64 -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${openblas:location}/lib -Wl,-rpath=${openblas:location}/lib -L${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${xz-utils:location}/lib -Wl,-rpath=${xz-utils:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib