[buildout] parts = openblas [openblas] recipe = slapos.recipe.cmmi 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