From 0a6177f57b20c9361f21c251e2000112eb116129 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 20 Dec 2020 14:59:47 -0500 Subject: [PATCH] fix openblas on OSX --- deal.II-toolchain/packages/openblas.package | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } -- 2.39.5