From 595ceaac37481ba7f96a35d1898e352b97a8c852 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Wed, 11 Mar 2026 17:24:44 -0400 Subject: [PATCH] Include grid header and make the ENABLE correct --- HMC/disable_examples_without_instantiations.h | 2 ++ benchmarks/Benchmark_dwf_fp32.cc | 1 + benchmarks/disable_benchmarks_without_instantiations.h | 2 ++ configure.ac | 2 +- examples/disable_examples_without_instantiations.h | 1 + tests/disable_tests_without_instantiations.h | 2 ++ 6 files changed, 9 insertions(+), 1 deletion(-) diff --git a/HMC/disable_examples_without_instantiations.h b/HMC/disable_examples_without_instantiations.h index 93c771d9..308793af 100644 --- a/HMC/disable_examples_without_instantiations.h +++ b/HMC/disable_examples_without_instantiations.h @@ -1,5 +1,7 @@ +#include #pragma once + #ifndef ENABLE_FERMION_INSTANTIATIONS #include diff --git a/benchmarks/Benchmark_dwf_fp32.cc b/benchmarks/Benchmark_dwf_fp32.cc index 20a695f5..f0927519 100644 --- a/benchmarks/Benchmark_dwf_fp32.cc +++ b/benchmarks/Benchmark_dwf_fp32.cc @@ -21,6 +21,7 @@ *************************************************************************************/ /* END LEGAL */ #include "disable_benchmarks_without_instantiations.h" + #ifdef ENABLE_FERMION_INSTANTIATIONS #include diff --git a/benchmarks/disable_benchmarks_without_instantiations.h b/benchmarks/disable_benchmarks_without_instantiations.h index 42f688e4..0277ccf5 100644 --- a/benchmarks/disable_benchmarks_without_instantiations.h +++ b/benchmarks/disable_benchmarks_without_instantiations.h @@ -1,3 +1,5 @@ +#include + #pragma once #ifndef ENABLE_FERMION_INSTANTIATIONS diff --git a/configure.ac b/configure.ac index 1f3d9ddc..ab018787 100644 --- a/configure.ac +++ b/configure.ac @@ -201,7 +201,7 @@ case ${ac_FERMION_REPS} in yes) AC_DEFINE([ENABLE_FERMION_REPS],[1],[non QCD fermion reps]);; esac case ${ac_FERMION_INSTANTIATIONS} in - yes) AC_DEFINE([ENABLE_FERMION_INSTANTIONS],[1],[enable fermions]);; + yes) AC_DEFINE([ENABLE_FERMION_INSTANTIATIONS],[1],[enable fermions]);; esac case ${ac_GPARITY} in yes) AC_DEFINE([ENABLE_GPARITY],[1],[fermion actions with GPARITY BCs]);; diff --git a/examples/disable_examples_without_instantiations.h b/examples/disable_examples_without_instantiations.h index 93c771d9..8d523557 100644 --- a/examples/disable_examples_without_instantiations.h +++ b/examples/disable_examples_without_instantiations.h @@ -1,3 +1,4 @@ +#include #pragma once #ifndef ENABLE_FERMION_INSTANTIATIONS diff --git a/tests/disable_tests_without_instantiations.h b/tests/disable_tests_without_instantiations.h index 03a6ea98..1fd95db6 100644 --- a/tests/disable_tests_without_instantiations.h +++ b/tests/disable_tests_without_instantiations.h @@ -1,3 +1,5 @@ +#include + #pragma once #ifndef ENABLE_FERMION_INSTANTIATIONS