Author: Holger Jaekel Summary: link against openblas instead of blas ---- --- a/configure +++ b/configure @@ -13863,11 +13863,11 @@ -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnrm2_ in -lblas" >&5 -printf %s "checking for dnrm2_ in -lblas... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnrm2_ in -lopenblas" >&5 +printf %s "checking for dnrm2_ in -lopenblas... " >&6; } ac_check_lib_save_LIBS=$LIBS -LIBS="-lblas $MATHLIB $LIBS" +LIBS="-lopenblas $MATHLIB $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -13896,14 +13896,14 @@ printf "%s\n" "$ac_cv_lib_blas_dnrm2_" >&6; } if test "x$ac_cv_lib_blas_dnrm2_" = xyes then : - BLASLIB="$BLASLIB -lblas " + BLASLIB="$BLASLIB -lopenblas " else $as_nop -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnrm2_ in -lblas" >&5 -printf %s "checking for dnrm2_ in -lblas... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnrm2_ in -lopenblas" >&5 +printf %s "checking for dnrm2_ in -lopenblas... " >&6; } ac_check_lib_save_LIBS=$LIBS -LIBS="-lblas $MATHLIB -lg2c $LIBS" +LIBS="-lopenblas $MATHLIB -lg2c $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -13932,7 +13932,7 @@ printf "%s\n" "$ac_cv_lib_blas_dnrm2_" >&6; } if test "x$ac_cv_lib_blas_dnrm2_" = xyes then : - BLASLIB="$BLASLIB -lblas -lg2c" + BLASLIB="$BLASLIB -lopenblas -lg2c" else $as_nop LDFLAGS=${ac_save_ldflags} @@ -14112,11 +14112,11 @@ # BLAS in PhiPACK libraries? (requires generic BLAS, too) if test $blas_ok = no; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sgemm_ in -lblas" >&5 -printf %s "checking for sgemm_ in -lblas... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sgemm_ in -lopenblas" >&5 +printf %s "checking for sgemm_ in -lopenblas... " >&6; } ac_check_lib_save_LIBS=$LIBS -LIBS="-lblas $LIBS" +LIBS="-lopenblas $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14149,7 +14149,7 @@ printf %s "checking for dgemm_ in -ldgemm... " >&6; } ac_check_lib_save_LIBS=$LIBS -LIBS="-ldgemm -lblas $LIBS" +LIBS="-ldgemm -lopenblas $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14182,7 +14182,7 @@ printf %s "checking for sgemm_ in -lsgemm... " >&6; } ac_check_lib_save_LIBS=$LIBS -LIBS="-lsgemm -lblas $LIBS" +LIBS="-lsgemm -lopenblas $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14211,7 +14211,7 @@ printf "%s\n" "$ac_cv_lib_sgemm_sgemm_" >&6; } if test "x$ac_cv_lib_sgemm_sgemm_" = xyes then : - blas_ok=yes; BLASLIB="-lsgemm -ldgemm -lblas" + blas_ok=yes; BLASLIB="-lsgemm -ldgemm -lopenblas" fi fi @@ -14301,11 +14301,11 @@ # Generic BLAS library if test $blas_ok = no; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sgemm_ in -lblas" >&5 -printf %s "checking for sgemm_ in -lblas... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sgemm_ in -lopenblas" >&5 +printf %s "checking for sgemm_ in -lopenblas... " >&6; } ac_check_lib_save_LIBS=$LIBS -LIBS="-lblas $LIBS" +LIBS="-lopenblas $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14334,7 +14334,7 @@ printf "%s\n" "$ac_cv_lib_blas_sgemm_" >&6; } if test "x$ac_cv_lib_blas_sgemm_" = xyes then : - blas_ok=yes; BLASLIB="-lblas" + blas_ok=yes; BLASLIB="-lopenblas" fi fi