Commit 8f133f2b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

version up : R 3.1.2.

also use our own libraries more.
clean up rpy2 component.
parent 73fe28f6
[buildout] [buildout]
extends = extends =
../readline/buildout.cfg ../bzip2/buildout.cfg
../gcc/buildout.cfg ../gcc/buildout.cfg
../pcre/buildout.cfg
../readline/buildout.cfg
../xz-utils/buildout.cfg
../zlib/buildout.cfg
parts = parts =
gcc-fortran gcc-fortran
...@@ -9,14 +13,23 @@ parts = ...@@ -9,14 +13,23 @@ parts =
[r-language] [r-language]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
url = http://cran.irsn.fr/src/base/R-3/R-3.1.0.tar.gz url = http://cran.irsn.fr/src/base/R-3/R-3.1.2.tar.gz
md5sum = a1ee52446bee81820409661e6d114ab1 md5sum = 3af29ec06704cbd08d4ba8d69250ae74
configure-options = configure-options =
--with-readline=yes
--with-x=no
--enable-R-shlib --enable-R-shlib
--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 = environment =
CC=${gcc-fortran:location}/bin/gcc PATH=${gcc-fortran:location}/bin:%(PATH)s
F77=${gcc-fortran:location}/bin/gfortran CPPFLAGS=-I${bzip2:location}/include -I${pcre:location}/include -I${readline5:location}/include -I${ncurses:location}/include -I${xz-utils:location}/include -I${zlib:location}/include
CFLAGS=-I${readline:location}/include -I${ncurses:location}/include LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${gcc-fortran:location}/lib -Wl,-rpath=${gcc-fortran:location}/lib -L${gcc-fortran:location}/lib64 -Wl,-rpath=${gcc-fortran:location}/lib64 -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -L${readline5:location}/lib -Wl,-rpath=${readline5:location}/lib -L${xz-utils:location}/lib -Wl,-rpath=${xz-utils:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-L${gcc-fortran:location}/lib64 -Wl,-rpath=${gcc-fortran:location}/lib64 -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${ncurses:location}/lib/ -Wl,-rpath=${ncurses:location}/lib/
[buildout] [buildout]
extends = extends =
../gcc/buildout.cfg ../gcc/buildout.cfg
../pcre/buildout.cfg
../r-language/buildout.cfg ../r-language/buildout.cfg
../xz-utils/buildout.cfg
# rpy2 needs R in $PATH # rpy2 needs R in $PATH
# to use rpy2 you need a wrapper that sets ${r-language:location}/bin in PATH # to use rpy2 you need a wrapper that sets ${r-language:location}/bin in PATH
# see ../manpy/buildout.cfg as an example # see ../manpy/buildout.cfg as an example
[rpy2_env] [rpy2_env]
PATH = ${gcc-fortran:location}/bin:${r-language:location}/bin/:%(PATH)s PATH = ${gcc-fortran:location}/bin:${r-language:location}/bin:%(PATH)s
CFLAGS = -I${readline:location}/include
LDFLAGS = -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${r-language:location}/lib/R/lib -Wl,-rpath=${r-language:location}/lib/R/lib
[rpy2] [rpy2]
recipe = zc.recipe.egg:custom recipe = zc.recipe.egg:custom
...@@ -23,3 +23,8 @@ initialization = ...@@ -23,3 +23,8 @@ initialization =
rpath = rpath =
${gcc-fortran:location}/lib ${gcc-fortran:location}/lib
${gcc-fortran:location}/lib64 ${gcc-fortran:location}/lib64
${pcre:location}/lib
${xz-utils:location}/lib
library-dirs =
${pcre:location}/lib
${xz-utils:location}/lib
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment