Commit 48480c03 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

version up : OpenBLAS 0.2.15. Add make-ext-options to specify more make options.

parent 69229988
...@@ -4,22 +4,25 @@ parts = ...@@ -4,22 +4,25 @@ parts =
[openblas] [openblas]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
# OpenBLAS 0.2.13 and 0.2.14 does not build on Broadwell url = http://github.com/xianyi/OpenBLAS/archive/v0.2.15.tar.gz
# CPU (Detecting CPU failed). But version 0.2.15 (which md5sum = b1190f3d3471685f17cfd1ec1d252ac9
# does not exist yet) will fix the issue. Until then you
# can add in options :
# TARGET=HASWELL
url = http://github.com/xianyi/OpenBLAS/archive/v0.2.14.tar.gz
md5sum = 53cda7f420e1ba0ea55de536b24c9701
configure-command = true configure-command = true
# You can specify more options with openblas:make-ext-options parameter.
# Example :
# * to build generic binary that supports multiple architecture in one binary
# DYNAMIC_ARCH=1
# * to build on not-yet-supported platform
# TARGET=GENERIC
make-ext-options =
make-options = make-options =
PREFIX="${buildout:parts-directory}/${:_buildout_section_name_}" PREFIX="${buildout:parts-directory}/${:_buildout_section_name_}"
BINARY="$(uname -m | grep -q x86_64 && echo 64 || echo 32)" BINARY="$(uname -m | grep -q x86_64 && echo 64 || echo 32)"
NO_STATIC=1 NO_STATIC=1
USE_OPENMP=1 USE_OPENMP=1
USE_THREAD=1 USE_THREAD=1
# to build generic binary that supports multiple architecture in one binary ${:make-ext-options}
# DYNAMIC_ARCH=1
environment = environment =
PATH=${gcc-fortran:location}/bin:%(PATH)s PATH=${gcc-fortran:location}/bin:%(PATH)s
LD_LIBRARY_PATH=${gcc-fortran:location}/lib:${gcc-fortran:location}/lib64 LD_LIBRARY_PATH=${gcc-fortran:location}/lib:${gcc-fortran:location}/lib64
......
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