From b15dcd977487c58409de48016eb7680850481d5d Mon Sep 17 00:00:00 2001 From: Joona Kiiski Date: Sun, 7 Dec 2014 19:54:23 +0000 Subject: [PATCH 1/1] Fix profile build for syzygy Touch source files under syzygy directory to force recompilation after collecting profile data. No functional change Resolves #149 --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 301cbdde..80867feb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -366,14 +366,14 @@ profile-build: $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_prepare) @echo "" @echo "Step 1/4. Building executable for benchmark ..." - @touch *.cpp *.h + @touch *.cpp *.h syzygy/*.cpp syzygy/*.h $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_make) @echo "" @echo "Step 2/4. Running benchmark for pgo-build ..." @$(PGOBENCH) > /dev/null @echo "" @echo "Step 3/4. Building final executable ..." - @touch *.cpp + @touch *.cpp *.h syzygy/*.cpp syzygy/*.h $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_use) @echo "" @echo "Step 4/4. Deleting profile data ..." -- 2.39.2