1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Merge pull request #35 from LupoA/sp2n/enableSp

consistent enable sp config flag
This commit is contained in:
chillenzer 2023-06-20 10:41:09 +00:00 committed by GitHub
commit ef736e8aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,9 +202,9 @@ case ${ac_Nc} in
esac
############### Symplectic group
AC_ARG_ENABLE([symplectic],
[AC_HELP_STRING([--enable-symplectic=yes|no], [enable gauge group Sp2n])],
[ac_ENABLE_SP=${enable_symplectic}], [ac_ENABLE_SP=no])
AC_ARG_ENABLE([Sp],
[AC_HELP_STRING([--enable-Sp=yes|no], [enable gauge group Sp2n])],
[ac_ENABLE_SP=${enable_Sp}], [ac_ENABLE_SP=no])
AM_CONDITIONAL(BUILD_SP, [ test "${ac_ENABLE_SP}X" == "yesX" ])
@ -214,7 +214,7 @@ case ${ac_ENABLE_SP} in
no)
AC_DEFINE([Sp2n_config],[0],[gauge group SUn], [have_sp2n=false]);;
*)
AC_MSG_ERROR(["--enable-symplectic is either yes or no"]);;
AC_MSG_ERROR(["--enable-Sp is either yes or no"]);;
esac
############### FP16 conversions