OpenACC enabled by default in configure

(--enable-openacc)
This commit is contained in:
Ivan Carnimeo 2021-09-01 19:12:56 +02:00
parent 26a2393060
commit dc2b71a020
2 changed files with 4 additions and 4 deletions

4
install/configure vendored
View File

@ -1430,7 +1430,7 @@ Optional Features:
--enable-debug compile Fortran with debug flags (default: no) --enable-debug compile Fortran with debug flags (default: no)
--enable-pedantic compile Fortran with pedantic flags (default: no) --enable-pedantic compile Fortran with pedantic flags (default: no)
--enable-shared use shared libraries if available (default: yes) --enable-shared use shared libraries if available (default: yes)
--enable-openacc Enable compilation with OPENACC [default=no] --enable-openacc Enable compilation with OPENACC [default=yes]
--enable-cuda-env-check The configure script will check CUDA installation --enable-cuda-env-check The configure script will check CUDA installation
and report problems [default=no] and report problems [default=no]
--enable-signals enable signal trapping (default: no) --enable-signals enable signal trapping (default: no)
@ -4189,7 +4189,7 @@ fi
if test "${enable_openacc+set}" = set; then : if test "${enable_openacc+set}" = set; then :
enableval=$enable_openacc; enableval=$enable_openacc;
else else
enable_openacc=no enable_openacc=yes
fi fi

View File

@ -60,9 +60,9 @@ AC_ARG_WITH([cuda-runtime],
[with_cuda_runtime=10.1]) [with_cuda_runtime=10.1])
AC_ARG_ENABLE([openacc], AC_ARG_ENABLE([openacc],
[AS_HELP_STRING([--enable-openacc],[Enable compilation with OPENACC @<:@default=no@:>@])], [AS_HELP_STRING([--enable-openacc],[Enable compilation with OPENACC @<:@default=yes@:>@])],
[], [],
[enable_openacc=no]) [enable_openacc=yes])
AC_ARG_ENABLE([cuda-env-check], AC_ARG_ENABLE([cuda-env-check],
[AS_HELP_STRING([--enable-cuda-env-check],[The configure script will check CUDA installation and report problems @<:@default=no@:>@])], [AS_HELP_STRING([--enable-cuda-env-check],[The configure script will check CUDA installation and report problems @<:@default=no@:>@])],