summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-09-08 20:25:26 -0700
committerScott Gasch <[email protected]>2026-09-08 20:25:26 -0700
commitac1db917dc50e372806780bc0ab2cc0570d8ca54 (patch)
tree245f7f7d4538369da74f1f8641041915e4122f9e /src/GNUmakefile
parent88a0787a7d19a5b4e19e540816f1d500e02dbfeb (diff)
Remove dead autoplay/autoplayer trees, land GNUmakefile/eval_tune companionsHEADmaster
- Remove autoplay/ and autoplayer/ entirely: old opponent-automation scrapers/harnesses (child_process.cc test scaffolding, compiled a.out binaries and a .dSYM bundle, saved book/position files, macOS ._-prefixed resource-fork cruft) that predate this repo's current tooling and were never referenced by anything still in use. - GNUmakefile: add DIAG_NO_QSEARCH_FUTILITY/CALIBRATE_QSEARCH_FUTILITY profile flags and testrecogn.o to the TEST=1 object list. Both are companions to already-committed work that never got their own build support committed: search.c's qsearch-futility calibration harness needs the two profile flags to be buildable at all, and testrecogn.c (added alongside the recogn.c bugfix, now committed here too) needs to be in TEST=1's OBJS to actually compile/link. - eval_tune/match_play.py, eval_tune/test_vs_head.sh: real fixes found and applied earlier this session -- match_play.py's opening-book leak (games weren't actually book-free), missing --hash/--cpus (games ran on the 64k-entry/single-cpu memset-zero defaults instead of this project's normal 256m/1cpu), a shared-logfile race across concurrent match workers, and a report-parsing deadlock on engine resignation. test_vs_head.sh reverted to comparing against head_reference/typhoon + the live working-tree binary -- it had been pointed at a since-deleted, long-stale one-off comparison binary (typhoon_allbitboards) since 92fc412, silently invalidating every "vs head" self-play check run through it since Sep 4. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ka9o3S2eKqh4jNfmxVZ6fH
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index f61ae63..802b568 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -84,7 +84,7 @@ ifdef GENETIC
endif
ifdef DEBUG
- PROFILE += -g -O2 -DDEBUG
+ PROFILE += -g -DDEBUG
BINARY = _typhoon
else
PROFILE += -g -O3 -ffast-math -finline-functions
@@ -153,6 +153,12 @@ endif
ifdef CALIBRATE_MARGIN_SAFETY
PROFILE += -DCALIBRATE_MARGIN_SAFETY
endif
+ifdef DIAG_NO_QSEARCH_FUTILITY
+PROFILE += -DDIAG_NO_QSEARCH_FUTILITY
+endif
+ifdef CALIBRATE_QSEARCH_FUTILITY
+PROFILE += -DCALIBRATE_QSEARCH_FUTILITY
+endif
endif # EVERYTHING
# Short commit hash (plus a -dirty suffix if the working tree has
@@ -187,7 +193,8 @@ ifdef TEST
#
OBJS += testdraw.o testmove.o testfen.o testgenerate.o \
testsan.o testics.o testeval.o testbitboard.o \
- testhash.o testsee.o testsearch.o testsup.o
+ testhash.o testsee.o testsearch.o testsup.o \
+ testrecogn.o
PROFILE += -DTEST
else
ifdef EVAL_DUMP