fix pgo partial rebuilds

master
Avril 4 years ago
parent f7997ca157
commit 040ddbfa56
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -66,7 +66,10 @@ $(PROJECT)-debug: $(OBJ)
pgo-generate: $(PGO_OBJ)
$(CXX) $^ $(CXXFLAGS) $(PROF_FLAGS) -o $@ $(LDFLAGS) $(PROF_FLAGS)
pgo-profile: pgo-generate
pgo-reset:
find ./profile -name \*.gcda -exec rm {} +
pgo-profile: | pgo-reset pgo-generate
for i in {1..$(PGO_ITERATIONS)}; do \
dd if=/dev/urandom of=/tmp/$(PROJECT)-pgo-test bs=1024 count=$(PGO_DATASET_SIZE) >> /dev/null 2>&1; \
printf "\rIteration $$i / $(PGO_ITERATIONS)"; \

Loading…
Cancel
Save