1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Fix profile build for syzygy

Touch source files under syzygy directory to force recompilation
after collecting profile data.

No functional change

Resolves #149
This commit is contained in:
Joona Kiiski 2014-12-07 19:54:23 +00:00
parent 94dd204c3b
commit b15dcd9774

View file

@ -366,14 +366,14 @@ profile-build:
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_prepare) $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_prepare)
@echo "" @echo ""
@echo "Step 1/4. Building executable for benchmark ..." @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) $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_make)
@echo "" @echo ""
@echo "Step 2/4. Running benchmark for pgo-build ..." @echo "Step 2/4. Running benchmark for pgo-build ..."
@$(PGOBENCH) > /dev/null @$(PGOBENCH) > /dev/null
@echo "" @echo ""
@echo "Step 3/4. Building final executable ..." @echo "Step 3/4. Building final executable ..."
@touch *.cpp @touch *.cpp *.h syzygy/*.cpp syzygy/*.h
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_use) $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_use)
@echo "" @echo ""
@echo "Step 4/4. Deleting profile data ..." @echo "Step 4/4. Deleting profile data ..."