buildout.cfg 908 Bytes
Newer Older
1 2 3 4 5 6
[buildout]
parts =
  openblas

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