be able to skip compiling fermion instantiations altogether

This commit is contained in:
2026-02-24 23:52:18 +00:00
parent 2a8084d569
commit 1b56f6f46d
48 changed files with 291 additions and 70 deletions
@@ -0,0 +1,14 @@
#pragma once
#ifndef BUILD_FERMION_INSTANTIATIONS
#include <iostream>
int main(void) {
std::cout << "This build of Grid was configured to exclude fermion instantiations, "
<< "which this benchmark relies on. "
<< "Please reconfigure and rebuild Grid with --enable-fermion-instantiations"
<< "to run this benchmark."
<< std::endl;
return 1;
}
#endif