Commit 935d6cb4 authored by Andreas Marek's avatar Andreas Marek
Browse files

Add old --enable-gpu flag, for compatibility

parent 69cc6fc5
......@@ -1480,6 +1480,22 @@ if test x"${need_bgq}" = x"yes"; then
fi
AC_LANG_POP([Fortran])
AC_ARG_ENABLE([gpu],
AS_HELP_STRING([--enable-gpu],
[do use GPU version (just for backward compatibility)]),
[if test x"$enableval" = x"yes"; then
use_gpu=yes
else
use_gpu=no
fi],
[use_gpu=no])
AC_MSG_RESULT([${use_gpu}])
if test x"${use_gpu}" = x"yes" ; then
need_nvidia_gpu=yes
use_real_nvidia_gpu=yes
use_complex_nvidia_gpu=yes
fi
AC_MSG_CHECKING(whether Nvidia-GPU version should be used)
AC_ARG_ENABLE([Nvidia-gpu],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment