Add support for OpenBLAS

This commit is contained in:
ddelange
2023-04-18 10:57:53 +02:00
committed by GitHub
parent e2590bca97
commit 0ad268f991

View File

@@ -157,6 +157,11 @@ if test $ax_cblas_ok = no; then
AC_CHECK_LIB(cblas, cblas_dgemm, [ax_cblas_ok=yes; CBLAS_LIBS="-lcblas"])
fi
# Generic BLAS library? (for instance OpenBLAS)
if test $ax_cblas_ok = no; then
AC_CHECK_LIB(cblas, cblas_dgemm, [ax_cblas_ok=yes; CBLAS_LIBS="-lblas"])
fi
AC_SUBST(CBLAS_LIBS)
LIBS="$ax_cblas_save_LIBS"