mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-08-25 06:31:45 +02:00
Cleaning configure
This commit is contained in:
parent
50e6037f93
commit
3a3b03b2ce
@ -129,13 +129,13 @@ AC_CHECK_LIB([pthread], [pthread_create])
|
|||||||
|
|
||||||
# OpenMP
|
# OpenMP
|
||||||
AC_ARG_WITH(openmp, [AS_HELP_STRING([--without-openmp],[deactivate OpenMP])], with_omp=$withval, with_omp=yes)
|
AC_ARG_WITH(openmp, [AS_HELP_STRING([--without-openmp],[deactivate OpenMP])], with_omp=$withval, with_omp=yes)
|
||||||
if test "x$with_omp" = xyes; then
|
AS_IF([test "x$with_omp" = xyes], [
|
||||||
AC_DEFINE([HAVE_OPENMP], [1], [Define to use OpenMP threading.])
|
AC_DEFINE([HAVE_OPENMP], [1], [Define to use OpenMP threading.])
|
||||||
AX_OPENMP([],
|
AX_OPENMP([],
|
||||||
[AC_MSG_ERROR([Could not find OpenMP flags; configure with --without-openmp])])
|
[AC_MSG_ERROR([Could not find OpenMP flags; configure with --without-openmp])])
|
||||||
CFLAGS="${CFLAGS} ${OPENMP_CFLAGS}"
|
CFLAGS="${CFLAGS} ${OPENMP_CFLAGS}"
|
||||||
FCFLAGS="${CFLAGS} ${OPENMP_FCFLAGS}"
|
FCFLAGS="${CFLAGS} ${OPENMP_FCFLAGS}"
|
||||||
fi
|
])
|
||||||
|
|
||||||
# CHAMELEON
|
# CHAMELEON
|
||||||
#AC_ARG_WITH(chameleon,
|
#AC_ARG_WITH(chameleon,
|
||||||
@ -303,11 +303,11 @@ AS_IF([test "x$enable_vfc_ci" = "xyes"],
|
|||||||
|
|
||||||
AM_CONDITIONAL([VFC_CI], [test "x$vfc_ci" = "xtrue"])
|
AM_CONDITIONAL([VFC_CI], [test "x$vfc_ci" = "xtrue"])
|
||||||
|
|
||||||
if test "$FC" = "verificarlo-f"; then
|
AS_IF([test "$FC" = "verificarlo-f"], [
|
||||||
AC_MSG_NOTICE(verificarlo-f detected)
|
AC_MSG_NOTICE(verificarlo-f detected)
|
||||||
# Arguments order is important here
|
# Arguments order is important here
|
||||||
FCFLAGS="-Mpreprocess $FCFLAGS"
|
FCFLAGS="-Mpreprocess $FCFLAGS"
|
||||||
fi
|
])
|
||||||
|
|
||||||
## Enable GPU offloading
|
## Enable GPU offloading
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user