This is an automated email from the git hooks/post-receive script.
logari81 pushed a commit to branch devel-logari81-gcc9-openmp
in repository getfem.
The following commit(s) were added to refs/heads/devel-logari81-gcc9-openmp by
this push:
new 77d6f76 Prioritize generic blas detection
77d6f76 is described below
commit 77d6f761bf8c9c681960c28c0d42b79856b65bd6
Author: Konstantinos Poulios <[email protected]>
AuthorDate: Sat May 23 10:12:24 2020 +0200
Prioritize generic blas detection
---
configure.ac | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/configure.ac b/configure.ac
index 37d561a..914cef6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -576,6 +576,11 @@ if test $acx_blas_ok = no; then
LIBS="$save_LIBS"
fi
+# Generic BLAS library?
+if test $acx_blas_ok = no; then
+ AC_CHECK_LIB(blas, $sgemm, [acx_blas_ok=yes; BLAS_LIBS="-lblas"])
+fi
+
# BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
if test $acx_blas_ok = no; then
AC_CHECK_LIB(atlas, ATL_xerbla,
@@ -636,11 +641,7 @@ if test $acx_blas_ok = no; then
[], [-lblas $FLIBS])])
fi
-# Generic BLAS library?
-if test $acx_blas_ok = no; then
- AC_CHECK_LIB(blas, $sgemm, [acx_blas_ok=yes; BLAS_LIBS="-lblas"])
-fi
-
+# Generic BLAS library with fortran dependency?
if test $acx_blas_ok = no; then
AC_CHECK_LIB(blas, $sgemm, [acx_blas_ok=yes; BLAS_LIBS="-lblas
$FCLIBS"])
fi