]> https://gitweb.dealii.org/ - candi.git/commitdiff
fix openblas on OSX 161/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 20 Dec 2020 19:59:47 +0000 (14:59 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 8 Jan 2021 22:43:01 +0000 (17:43 -0500)
deal.II-toolchain/packages/openblas.package

index 6bf985d420a68f477644f49bfd1d640364e1c0a1..dad0fbdf9cf16c796f548bc5cd63477d5d0e25d7 100644 (file)
@@ -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
 }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.