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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
slapos
Commits
bd5fff1e
Commit
bd5fff1e
authored
Apr 10, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dream: provide libblas
parent
1f028559
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
0 deletions
+57
-0
component/libblas/buildout.cfg
component/libblas/buildout.cfg
+25
-0
software/dream/software.cfg
software/dream/software.cfg
+32
-0
No files found.
component/libblas/buildout.cfg
0 → 100644
View file @
bd5fff1e
[buildout]
parts =
libblas
[libblas]
recipe = cp.recipe.cmd
location = ${buildout:parts-directory}/${:_buildout_section_name_}
gfortran=${gcc-fortran:location}/bin/gfortran
install_cmd =
set -e
mkdir -p ${:location}__compile__
cd ${:location}__compile__
wget http://www.netlib.org/blas/blas.tgz
tar xzf blas.tgz
cd BLAS
${:gfortran} -O3 -std=legacy -m64 -fno-second-underscore -fPIC -c *.f
ar r libfblas.a *.o
ranlib libfblas.a
# rm -rf *.o
mkdir -p ${:location}
mv libfblas.a ${:location}/
#update_cmd = ${:install_cmd}
software/dream/software.cfg
View file @
bd5fff1e
...
...
@@ -5,12 +5,16 @@ extends =
../../component/git/buildout.cfg
../../component/gcc/buildout.cfg
../../component/libatlas/buildout.cfg
../../component/libblas/buildout.cfg
parts =
python2.7-virtualenv
eggs
gcc-fortran
libatlas
libblas
# scikit-env
# XXX ideally, libatlas should use this version
#[gcc-download]
...
...
@@ -25,5 +29,33 @@ eggs =
collective.recipe.template
[scikit-env]
recipe = cp.recipe.cmd
location = ${buildout:parts-directory}/${:_buildout_section_name_}
install_cmd =
mkdir -p ${:location}
cd ${:location}
unset PYTHONPATH
${python2.7-virtualenv:executable} ${:location}
. ${:location}/bin/activate
export ATLAS=${libatlas:location}/lib/libsatlas.so
#pip install -U setuptools
#pip install -U pip
pip install numpy
pip install simpy==2.3
pip install scipy
pip install scikit-learn
pip install xlrd
pip install xlwt
pip install flask
pip install pyparsing==1.5.7
pip install pydot
#export LDFLAGS="-lncurses"
pip install rpy2
git clone http://git.erp5.org/repos/dream.git -b marco
cd dream
python setup.py install
[versions]
cp.recipe.cmd = 0.5nxd001
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