Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aurel
slapos
Commits
4f03bd9c
Commit
4f03bd9c
authored
Apr 15, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added R language component
parent
3bb44030
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
74 additions
and
10 deletions
+74
-10
component/gcc/software.cfg
component/gcc/software.cfg
+2
-0
component/libatlas/buildout.cfg
component/libatlas/buildout.cfg
+0
-1
component/r-language/buildout.cfg
component/r-language/buildout.cfg
+21
-0
component/r-language/software.cfg
component/r-language/software.cfg
+19
-0
software/dream/software.cfg
software/dream/software.cfg
+29
-8
software/scikit/software.cfg
software/scikit/software.cfg
+3
-1
No files found.
component/gcc/software.cfg
View file @
4f03bd9c
# A minimal software release to test the r-language component.
[buildout]
extends =
../../stack/slapos.cfg
...
...
component/libatlas/buildout.cfg
View file @
4f03bd9c
...
...
@@ -49,5 +49,4 @@ install_cmd =
# make ptcheck # sanity check parallel
make time # check if lib is fast
make install # copy libs to install dir
update_cmd = ${:install_cmd}
component/r-language/buildout.cfg
0 → 100644
View file @
4f03bd9c
[buildout]
extends =
../gcc/buildout.cfg
parts =
gcc-fortran
r-language
[r-language]
recipe = slapos.recipe.cmmi
url = http://cran.irsn.fr/src/base/R-3/R-3.1.0.tar.gz
md5sum = a1ee52446bee81820409661e6d114ab1
configure-options =
--with-readline=no
--with-x=no
--enable-R-shlib
environment =
CC=${gcc-fortran:location}/bin/gcc
F77=${gcc-fortran:location}/bin/gfortran
LDFLAGS=-L${gcc-fortran:location}/lib64 -Wl,-rpath=${gcc-fortran:location}/lib64
component/r-language/software.cfg
0 → 100644
View file @
4f03bd9c
# A minimal software release to test the r-language component (depends on gfortran).
[buildout]
extends =
../../stack/slapos.cfg
../../component/gcc/buildout.cfg
../../component/r-language/buildout.cfg
parts =
eggs
gcc-fortran
r-language
[eggs]
recipe = zc.recipe.egg
eggs =
${lxml-python:egg}
slapos.cookbook
software/dream/software.cfg
View file @
4f03bd9c
[buildout]
# A proper SR for Dream with no external dependecies (fortran, etc),
# but which uses a virtualenv to ease packaging on the python side.
extends =
../../stack/slapos.cfg
../../component/git/buildout.cfg
../../component/gcc/buildout.cfg
../../component/libatlas/buildout.cfg
../../component/libblas/buildout.cfg
../../component/r-language/buildout.cfg
parts =
python2.7-virtualenv
...
...
@@ -13,13 +17,10 @@ parts =
gcc-fortran
libatlas
libblas
r-language
sh-dream-environment
scikit-env
# scikit-env
# XXX ideally, libatlas should use this version
#[gcc-download]
#url = http://www.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.7.0/gcc-4.7.0.tar.bz2
#md5sum = 2a0f1d99fda235c29d40b561f81d9a77
[eggs]
recipe = zc.recipe.egg
...
...
@@ -50,11 +51,31 @@ install_cmd =
pip install flask
pip install pyparsing==1.5.7
pip install pydot
#export LDFLAGS="-lncurses"
pip install rpy2
# export LDFLAGS="-lncurses"
export PATH=${r-language:location}/bin:$PATH
# pip install rpy2
# clone repo for:
# bug fix - https://bitbucket.org/lgautier/rpy2/issue/183
# (may switch to released egg later)
pip install mercurial
hg clone -b version_2.4.x https://marco.mariani@bitbucket.org/marco.mariani/rpy2
cd rpy2
python setup.py install
git clone http://git.erp5.org/repos/dream.git -b marco
cd dream
python setup.py install
update_cmd = ${:install_cmd}
[sh-dream-environment]
# environment needed for running/debugging the applications, exported to a shell script to be sourced.
recipe = collective.recipe.template
output = ${buildout:directory}/environment.sh
input = inline:
export PATH="${r-language:location}/bin:$PATH"
export LD_LIBRARY_PATH="${r-language:location}/lib/R/lib:$LD_LIBRARY_PATH"
[versions]
...
...
software/scikit/software.cfg
View file @
4f03bd9c
[buildout]
# Dream Software Release with external dependencies.
# Depends on gfortran, libatlas, r-base-dev, etc... installed by apt-get.
extends =
../../stack/slapos.cfg
../../component/git/buildout.cfg
# ../../component/libatlas/buildout.cfg
parts =
python2.7-virtualenv
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment