Commit bd5fff1e authored by Marco Mariani's avatar Marco Mariani

dream: provide libblas

parent 1f028559
[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}
...@@ -5,12 +5,16 @@ extends = ...@@ -5,12 +5,16 @@ extends =
../../component/git/buildout.cfg ../../component/git/buildout.cfg
../../component/gcc/buildout.cfg ../../component/gcc/buildout.cfg
../../component/libatlas/buildout.cfg ../../component/libatlas/buildout.cfg
../../component/libblas/buildout.cfg
parts = parts =
python2.7-virtualenv python2.7-virtualenv
eggs eggs
gcc-fortran gcc-fortran
libatlas libatlas
libblas
# scikit-env
# XXX ideally, libatlas should use this version # XXX ideally, libatlas should use this version
#[gcc-download] #[gcc-download]
...@@ -25,5 +29,33 @@ eggs = ...@@ -25,5 +29,33 @@ eggs =
collective.recipe.template 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] [versions]
cp.recipe.cmd = 0.5nxd001 cp.recipe.cmd = 0.5nxd001
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