aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 18:21:07 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 18:21:07 +0330
commit44d9724e3cfb6d25c19ed0a45cb33b95c38003e5 (patch)
treef33c79c0463e8bbeb6b5023e501964e65c1da3a9 /Makefile
parentbench: o3 guard is jit o3 collatz under half of jit plain (no interp rows nee... (diff)
bench: find llvm-config-19 like the Makefile; bench-save refuses when an expected backend has no rows
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6569bd5..94d9b49 100644
--- a/Makefile
+++ b/Makefile
@@ -221,7 +221,8 @@ ifeq ($(CHECK),1)
else
INTERP=$(INTERP) python3 tests/bench/suite.py run
endif
-bench-save: bench
+bench-save:
+ BENCH_SAVE=1 $(MAKE) bench
cp $(B)/bench.txt tests/bench.baseline
@echo "bench: wrote tests/bench.baseline"
bench-check: $(BIN)/zy$(EXE)