version up : OpenBLAS 0.2.14.
[slapos.git] / component / openblas / buildout.cfg
1 [buildout]
2 parts =
3   openblas
4
5 [openblas]
6 recipe = slapos.recipe.cmmi
7 # OpenBLAS 0.2.13 and 0.2.14 does not build on Broadwell
8 # CPU (Detecting CPU failed). But version 0.2.15 (which
9 # does not exist yet) will fix the issue. Until then you
10 # can add in options :
11 # TARGET=HASWELL
12 url = http://github.com/xianyi/OpenBLAS/archive/v0.2.14.tar.gz
13 md5sum = 53cda7f420e1ba0ea55de536b24c9701
14 configure-command = true
15 make-options =
16   PREFIX="${buildout:parts-directory}/${:_buildout_section_name_}"
17   BINARY="$(uname -m | grep -q x86_64 && echo 64 || echo 32)"
18   NO_STATIC=1
19   USE_OPENMP=1
20   USE_THREAD=1
21 # to build generic binary that supports multiple architecture in one binary
22 # DYNAMIC_ARCH=1
23 environment =
24   PATH=${gcc-fortran:location}/bin:%(PATH)s
25   LD_LIBRARY_PATH=${gcc-fortran:location}/lib:${gcc-fortran:location}/lib64
26   LDFLAGS=-Wl,-rpath=${gcc-fortran:location}/lib -Wl,-rpath=${gcc-fortran:location}/lib64