Skip to content
Snippets Groups Projects
Commit 0dbff4fa authored by Houtan Bastani's avatar Houtan Bastani
Browse files

build system: modify blas check for os x 10.10

parent 9300a061
No related branches found
No related tags found
No related merge requests found
......@@ -170,11 +170,11 @@ if test $ax_blas_ok = no; then
AC_CHECK_LIB(mkl, $sgemm, [ax_blas_ok=yes;BLAS_LIBS="-lmkl -lguide -lpthread"],,[-lguide -lpthread])
fi
# BLAS in Apple vecLib library?
# BLAS in Apple Accelerate library?
if test $ax_blas_ok = no; then
save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
AC_MSG_CHECKING([for $sgemm in -framework vecLib])
AC_TRY_LINK_FUNC($sgemm, [ax_blas_ok=yes;BLAS_LIBS="-framework vecLib"])
save_LIBS="$LIBS"; LIBS="-framework Accelerate $LIBS"
AC_MSG_CHECKING([for $sgemm in -framework Accelerate])
AC_TRY_LINK_FUNC($sgemm, [ax_blas_ok=yes;BLAS_LIBS="-framework Accelerate"])
AC_MSG_RESULT($ax_blas_ok)
LIBS="$save_LIBS"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment