aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-10 15:20:20 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-14 08:27:03 +0200
commitb1742da3868a3594b4e78be64e1412356d95dbd7 (patch)
treeb2d2a4988ca60c5607f986df548cd6ed0c5e47ac /Makefile
parentae3bf36c83befeaac21900495e6494ec2a39e225 (diff)
downloadffwd-b1742da3868a3594b4e78be64e1412356d95dbd7.tar.gz
ffwd-b1742da3868a3594b4e78be64e1412356d95dbd7.zip
bench: progress output during sampling, ignore .gitignore in dirty stamp
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 88baa58..33501f9 100644
--- a/Makefile
+++ b/Makefile
@@ -282,7 +282,9 @@ bench-tokenizer:
# a JSON sample set under bench/results/, keyed by commit; compare two
# records with scripts/benchstat.py to see if a change helped or hurt.
# =============================================================================
-BENCH_STAMP = $(shell git rev-parse --short HEAD 2>/dev/null || echo nogit)$(shell git diff --quiet 2>/dev/null || echo -dirty)-$(shell date +%Y%m%d-%H%M%S)
+# Dirtiness ignores .gitignore so local-only ignore entries do not mark
+# every record as -dirty.
+BENCH_STAMP = $(shell git rev-parse --short HEAD 2>/dev/null || echo nogit)$(shell git diff --quiet -- ':!.gitignore' 2>/dev/null || echo -dirty)-$(shell date +%Y%m%d-%H%M%S)
BENCH_CC_FLAGS = -Wall -Wextra $(CFLAGS_BASE) $(TEST_BLAS_CFLAGS) -I.
bench: