buildout.cfg 1.45 KB
[buildout]
extends =
  ../bzip2/buildout.cfg
  ../gcc/buildout.cfg
  ../openblas/buildout.cfg
  ../pcre/buildout.cfg
  ../readline/buildout.cfg
  ../xz-utils/buildout.cfg
  ../zlib/buildout.cfg

parts =
  r-language

[r-language]
recipe = slapos.recipe.cmmi
url = http://cran.univ-paris1.fr/src/base/R-3/R-3.2.1.tar.gz
md5sum = c2aac8b40f84e08e7f8c9068de9239a3
configure-options =
  --enable-R-shlib
  --enable-BLAS-shlib
  --with-blas="-lopenblas"
  --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
environment =
  PATH=${gcc:location}/bin:%(PATH)s
  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
  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