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
Iliya Manolov
slapos
Commits
93c32d2c
Commit
93c32d2c
authored
Aug 07, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scikit: cleanup
parent
0affd68b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
11 deletions
+21
-11
component/libatlas/buildout.cfg
component/libatlas/buildout.cfg
+0
-1
component/libblas/buildout.cfg
component/libblas/buildout.cfg
+11
-2
component/numpy/buildout.cfg
component/numpy/buildout.cfg
+8
-6
component/numpy/software.cfg
component/numpy/software.cfg
+1
-1
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-1
No files found.
component/libatlas/buildout.cfg
View file @
93c32d2c
...
@@ -37,7 +37,6 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
...
@@ -37,7 +37,6 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
[libatlas]
[libatlas]
recipe = cp.recipe.cmd
recipe = cp.recipe.cmd
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
lapack_version = 3.5.0
install_cmd =
install_cmd =
set -e
set -e
mkdir -p ${:location}__compile__
mkdir -p ${:location}__compile__
...
...
component/libblas/buildout.cfg
View file @
93c32d2c
...
@@ -3,6 +3,16 @@ parts =
...
@@ -3,6 +3,16 @@ parts =
libblas
libblas
[libblas-download]
recipe = hexagonit.recipe.download
filename = blas.tgz
url = http://www.netlib.org/blas/${:filename}
md5sum = 5e99e975f7a1e3ea6abcad7c6e7e42e6
download-only = true
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[libblas]
[libblas]
recipe = cp.recipe.cmd
recipe = cp.recipe.cmd
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
...
@@ -12,8 +22,7 @@ install_cmd =
...
@@ -12,8 +22,7 @@ install_cmd =
set -e
set -e
mkdir -p ${:location}__compile__
mkdir -p ${:location}__compile__
cd ${:location}__compile__
cd ${:location}__compile__
wget -nc http://www.netlib.org/blas/blas.tgz
tar xzf ${libblas-download:location}/${libblas-download:filename}
tar xzf blas.tgz
cd BLAS
cd BLAS
${:gfortran} -O3 -std=legacy -m64 -fno-second-underscore -fPIC -c *.f
${:gfortran} -O3 -std=legacy -m64 -fno-second-underscore -fPIC -c *.f
ar r libfblas.a *.o
ar r libfblas.a *.o
...
...
component/numpy/buildout.cfg
View file @
93c32d2c
...
@@ -21,8 +21,8 @@ branch = master
...
@@ -21,8 +21,8 @@ branch = master
git-executable = ${git:location}/bin/git
git-executable = ${git:location}/bin/git
[build-venv]
[
numpy-
build-venv]
dependency = ${
prerequired-eggs
:recipe}
dependency = ${
numpy-prerequired-egg
:recipe}
recipe = cp.recipe.cmd
recipe = cp.recipe.cmd
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
install_cmd =
install_cmd =
...
@@ -41,6 +41,7 @@ install_cmd =
...
@@ -41,6 +41,7 @@ install_cmd =
. ${:location}/bin/activate
. ${:location}/bin/activate
${:location}/bin/pip install numpy
${:location}/bin/pip install numpy
${:location}/bin/pip install Tempita
${:location}/bin/pip install Tempita
# look for numpy in buildout eggs, not in the virtualenv
export PYTHONPATH=${buildout:eggs-directory}/numpy-${versions:numpy}-py2.7-linux-x86_64.egg
export PYTHONPATH=${buildout:eggs-directory}/numpy-${versions:numpy}-py2.7-linux-x86_64.egg
cd ${scipy-repository.git:location}
cd ${scipy-repository.git:location}
python setupegg.py bdist_egg
python setupegg.py bdist_egg
...
@@ -49,15 +50,16 @@ install_cmd =
...
@@ -49,15 +50,16 @@ install_cmd =
update_cmd = ${:install_cmd}
update_cmd = ${:install_cmd}
[
prerequired-eggs
]
[
numpy-prerequired-egg
]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
# this must be installed before building scipy and scikit-learn
eggs =
eggs =
slapos.cookbook
${lxml-python:egg}
numpy
numpy
[numpy-eggs]
[numpy-
dependent-
eggs]
dependencies = ${build-venv:recipe}
dependencies = ${
numpy-
build-venv:recipe}
recipe = zc.recipe.egg
recipe = zc.recipe.egg
find-links =
find-links =
${scipy-repository.git:location}/dist
${scipy-repository.git:location}/dist
...
...
component/numpy/software.cfg
View file @
93c32d2c
...
@@ -6,7 +6,7 @@ extends =
...
@@ -6,7 +6,7 @@ extends =
../../component/numpy/buildout.cfg
../../component/numpy/buildout.cfg
parts =
parts =
numpy-eggs
numpy-
dependent-
eggs
[versions]
[versions]
numpy = 1.8.1
numpy = 1.8.1
...
...
stack/erp5/buildout.cfg
View file @
93c32d2c
...
@@ -431,7 +431,7 @@ ZODB3-patch-binary = ${patch:location}/bin/patch
...
@@ -431,7 +431,7 @@ ZODB3-patch-binary = ${patch:location}/bin/patch
[eggs]
[eggs]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
eggs =
eggs =
${numpy-eggs:eggs}
${numpy-
dependent-
eggs:eggs}
${mysql-python:egg}
${mysql-python:egg}
${lxml-python:egg}
${lxml-python:egg}
${pil-python:egg}
${pil-python:egg}
...
...
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