[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Yves Renard |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Sat, 23 May 2020 09:59:46 -0400 (EDT) |
branch: master
commit c60753e9c522346850674961f7124c4bb22079a3
Author: Yves Renard <address@hidden>
AuthorDate: Sat May 23 15:59:19 2020 +0200
change option name
---
configure.ac | 30 ++++++++++--------------------
1 file changed, 10 insertions(+), 20 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5c94dd3..3a3a19c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,16 +40,6 @@ AX_PREFIX_CONFIG_H(src/gmm/gmm_arch_config.h,GMM)
AC_PREREQ(2.61)
AC_ARG_PROGRAM
-dnl PACKAGE="getfem"
-dnl dnl VERSION=$MAJOR_VERSION.$MINOR_VERSION-`date +%Y%m%d`
-dnl VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION
-dnl dnl VERSION=$MAJOR_VERSION.$MINOR_VERSION
-dnl AC_DEFINE_UNQUOTED([MAJOR_VERSION],$MAJOR_VERSION,[getfem major version
number])
-dnl AC_DEFINE_UNQUOTED([MINOR_VERSION],$MINOR_VERSION,[getfem minor version
number])
-dnl AC_DEFINE_UNQUOTED([PATCH_VERSION],$PATCH_VERSION,[getfem patch number
(sub minor version)])
-dnl echo "configuring $PACKAGE $VERSION (patch level $PATCH_VERSION)..."
-
-
dnl ------------------------------------------------------------------------
dnl init automake
dnl ------------------------------------------------------------------------
@@ -733,26 +723,26 @@ fi
dnl -----------------------------END OF LAPACK TEST--------------------------
-dnl ---------------------------single-thread-blas--------------------------
+dnl ---------------------------multithread-blas--------------------------
-single_thread_blas=YES
-AC_ARG_ENABLE(single-thread-blas,
- [AS_HELP_STRING([--enable-single-thread-blas],[forces openblas to be single
threaded])],
+multithread_blas=NO
+AC_ARG_ENABLE(multithread-blas,
+ [AS_HELP_STRING([--enable-multithread-blas],[enable openblas to be
multithreaded])],
[ case $enableval in
- yes | "") single_thread_blas=YES;;
- no) single_thread_blas=NO;;
- *) AC_MSG_ERROR([bad value ${enableval} for
--enable-single-thread-blas], [single_thread_blas=NO]) ;;
+ yes | "") multithread_blas=YES;;
+ no) multithread_blas=NO;;
+ *) AC_MSG_ERROR([bad value ${enableval} for
--enable-multithread-blas], [multithread_blas=NO]) ;;
esac
])
-if test x$single_thread_blas = xYES; then
+if test x$multithread_blas = xNO; then
AC_CHECK_LIB(dl, dlsym, [acx_dl_ok=yes; DL_LIBS="-ldl"])
if test x"$acx_dl_ok" = xyes; then
- AC_DEFINE_UNQUOTED([FORCE_SINGLE_THREAD_BLAS],1,[forces openblas to be
single threaded])
+ AC_DEFINE_UNQUOTED([FORCE_SINGLE_THREAD_BLAS],1,[enable openblas to be
multithreaded])
LIBS="$DL_LIBS $LIBS"
fi
fi;
-dnl --------------------------end of single-thread-blas--------------------
+dnl --------------------------end of multithread-blas--------------------