From: Timo Heister Date: Sun, 20 Dec 2020 19:59:47 +0000 (-0500) Subject: fix openblas on OSX X-Git-Tag: v9.3.0-r3~32^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F161%2Fhead;p=candi.git fix openblas on OSX --- diff --git a/deal.II-toolchain/packages/openblas.package b/deal.II-toolchain/packages/openblas.package index 6bf985d..dad0fbd 100644 --- a/deal.II-toolchain/packages/openblas.package +++ b/deal.II-toolchain/packages/openblas.package @@ -30,10 +30,10 @@ package_specific_build () { package_specific_register () { export LAPACK_DIR=${INSTALL_PATH}/lib export BLAS_DIR=${INSTALL_PATH}/lib - export BLAS_LIB=${INSTALL_PATH}/lib/libopenblas.so + export BLAS_LIB=${INSTALL_PATH}/lib/libopenblas.${LDSUFFIX} # older cmake (for example 3.5) does not detect openblas by default so # we force detection by adding to the deal.II configure line: - export DEAL_CONFOPTS="-D LAPACK_FOUND=true -D LAPACK_LIBRARIES=${INSTALL_PATH}/lib/libopenblas.so ${DEAL_CONFOPTS}" + export DEAL_CONFOPTS="-D LAPACK_FOUND=true -D LAPACK_LIBRARIES=${INSTALL_PATH}/lib/libopenblas.${LDSUFFIX} ${DEAL_CONFOPTS}" } package_specific_conf () { @@ -43,6 +43,6 @@ package_specific_conf () { echo " export LAPACK_DIR=${INSTALL_PATH}/lib export BLAS_DIR=${INSTALL_PATH}/lib -export BLAS_LIB=${INSTALL_PATH}/lib/libopenblas.so +export BLAS_LIB=${INSTALL_PATH}/lib/libopenblas.${LDSUFFIX} " >> $CONFIG_FILE }