From 470d93006a0399f8907aaf8bca010735d2a99687 Mon Sep 17 00:00:00 2001 From: Alessandro Lupo Date: Wed, 7 Jun 2023 12:53:33 +0100 Subject: [PATCH] compile sp2n fermion impl only if declared at config time --- Grid/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Grid/Makefile.am b/Grid/Makefile.am index fcb5670a..502fcbf2 100644 --- a/Grid/Makefile.am +++ b/Grid/Makefile.am @@ -63,10 +63,12 @@ if BUILD_GPARITY extra_sources+=$(GP_FERMION_FILES) endif if BUILD_FERMION_REPS - extra_sources+=$(SP_FERMION_FILES) extra_sources+=$(ADJ_FERMION_FILES) extra_sources+=$(TWOIND_FERMION_FILES) - extra_sources+=$(SP_TWOIND_FILES) +endif +if BUILD_SP + extra_sources+=$(SP_FERMION_FILES) + extra_sources+=$(SP_TWOIND_FILES) endif lib_LIBRARIES = libGrid.a