diff --git a/.gitattributes b/.gitattributes index 8a781e3..55f90e8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -22,5 +22,5 @@ *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text ## Specific LFS patterns -nn-b1a57edbea57.nnue filter=lfs diff=lfs merge=lfs -text -nn-baff1ede1f90.nnue filter=lfs diff=lfs merge=lfs -text +nn-1111cefa1111.nnue filter=lfs diff=lfs merge=lfs -text +nn-37f18f62d772.nnue filter=lfs diff=lfs merge=lfs -text diff --git a/Stockfish-sf_16.1.tar.gz b/Stockfish-sf_16.1.tar.gz deleted file mode 100644 index 94329d2..0000000 --- a/Stockfish-sf_16.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5f94793b5d4155310397ba89e9c4266570ef0f24cd47de41a9103556f811b82 -size 176846 diff --git a/Stockfish-sf_17.tar.gz b/Stockfish-sf_17.tar.gz new file mode 100644 index 0000000..ccdb924 --- /dev/null +++ b/Stockfish-sf_17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f9b52285c3348c065b7cb58410626df16d7416a2e60a3b04f3ec7c038e67ad1 +size 204647 diff --git a/date.patch b/date.patch index 9bb1ca3..bb3f688 100644 --- a/date.patch +++ b/date.patch @@ -1,15 +1,16 @@ -Index: Stockfish-sf_16.1/src/misc.cpp +Index: Stockfish-sf_17/src/misc.cpp =================================================================== ---- Stockfish-sf_16.1.orig/src/misc.cpp -+++ Stockfish-sf_16.1/src/misc.cpp -@@ -166,14 +166,6 @@ std::string engine_info(bool to_uci) { +--- Stockfish-sf_17.orig/src/misc.cpp ++++ Stockfish-sf_17/src/misc.cpp +@@ -131,15 +131,6 @@ std::string engine_info(bool to_uci) { ss << "-"; #ifdef GIT_DATE ss << stringify(GIT_DATE); -#else - constexpr std::string_view months("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"); -- std::string month, day, year; -- std::stringstream date(__DATE__); // From compiler, format is "Sep 21 2008" +- +- std::string month, day, year; +- std::stringstream date(__DATE__); // From compiler, format is "Sep 21 2008" - - date >> month >> day >> year; - ss << year << std::setw(2) << std::setfill('0') << (1 + months.find(month) / 4) diff --git a/nn-1111cefa1111.nnue b/nn-1111cefa1111.nnue new file mode 100644 index 0000000..be7a550 --- /dev/null +++ b/nn-1111cefa1111.nnue @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1111cefa11116b77161bd4b14dab4c50f26e5920c756f4861592be3dcd6de174 +size 74874478 diff --git a/nn-37f18f62d772.nnue b/nn-37f18f62d772.nnue new file mode 100644 index 0000000..ab0afb4 --- /dev/null +++ b/nn-37f18f62d772.nnue @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37f18f62d772f3107e1d6aaca3898c130c3c86f2ab63e6555fbbca20635a899d +size 3519630 diff --git a/nn-b1a57edbea57.nnue b/nn-b1a57edbea57.nnue deleted file mode 100644 index 0d4d61b..0000000 --- a/nn-b1a57edbea57.nnue +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b1a57edbea574ca8b88d6837473845791beb53d885f87f86d5ccdd5659fbf3b2 -size 65429575 diff --git a/nn-baff1ede1f90.nnue b/nn-baff1ede1f90.nnue deleted file mode 100644 index 7016d4f..0000000 --- a/nn-baff1ede1f90.nnue +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:baff1ede1f90c1dd1b4f772f1eff29848821801e8186345da7f0eb4121bd6f63 -size 3480122 diff --git a/stockfish-remove-net.patch b/stockfish-remove-net.patch index d2edfc4..ab6b453 100644 --- a/stockfish-remove-net.patch +++ b/stockfish-remove-net.patch @@ -1,8 +1,8 @@ -Index: Stockfish-sf_16.1/src/Makefile +Index: Stockfish-sf_17/src/Makefile =================================================================== ---- Stockfish-sf_16.1.orig/src/Makefile -+++ Stockfish-sf_16.1/src/Makefile -@@ -806,7 +806,6 @@ help: +--- Stockfish-sf_17.orig/src/Makefile ++++ Stockfish-sf_17/src/Makefile +@@ -801,7 +801,6 @@ help: @echo "help > Display architecture details" @echo "profile-build > standard build with profile-guided optimization" @echo "build > skip profile-guided optimization" @@ -10,7 +10,7 @@ Index: Stockfish-sf_16.1/src/Makefile @echo "strip > Strip executable" @echo "install > Install executable" @echo "clean > Clean up" -@@ -867,20 +866,20 @@ ifneq ($(SUPPORTED_ARCH), true) +@@ -862,20 +861,20 @@ ifneq ($(SUPPORTED_ARCH), true) endif @@ -35,7 +35,7 @@ Index: Stockfish-sf_16.1/src/Makefile @echo "" @echo "Step 1/4. Building instrumented executable ..." $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_make) -@@ -922,44 +921,6 @@ profileclean: +@@ -917,44 +916,6 @@ profileclean: @rm -f stockfish.res @rm -f ./-lstdc++.res @@ -80,7 +80,7 @@ Index: Stockfish-sf_16.1/src/Makefile # set up shell variables for the net stuff define netvariables $(eval nnuenet := $(shell grep $(1) evaluate.h | grep define | sed 's/.*\(nn-[a-z0-9]\{12\}.nnue\).*/\1/')) -@@ -989,7 +950,7 @@ default: +@@ -984,7 +945,7 @@ default: all: $(EXE) .depend @@ -89,7 +89,7 @@ Index: Stockfish-sf_16.1/src/Makefile @echo "" @echo "Config:" @echo "debug: '$(debug)'" -@@ -1098,6 +1059,6 @@ icx-profile-use: +@@ -1093,6 +1054,6 @@ icx-profile-use: .depend: $(SRCS) -@$(CXX) $(DEPENDFLAGS) -MM $(SRCS) > $@ 2> /dev/null diff --git a/stockfish.changes b/stockfish.changes index 04afb6e..0a0d374 100644 --- a/stockfish.changes +++ b/stockfish.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Sep 9 06:09:08 UTC 2024 - Michael Vetter + +- Update to 17: + * Improved engine lines + This release introduces principal variations (PVs) that are more + informative for mate and decisive table base (TB) scores. In both + cases, the PV will contain all moves up to checkmate. For mate scores, + the PV shown is the best variation known to the engine at that point, + while for table base wins, it follows, based on the TB, a sequence of + moves that preserves the game outcome to checkmate. + * NUMA performance optimization + For high-end computers with multiple CPUs (typically a dual-socket + architecture with 100+ cores), this release automatically improves + performance with a NumaPolicy setting that optimizes non-uniform memory + access (NUMA). Although typical consumer hardware will not benefit, + speedups of up to 2.8x have been measured. +- Update date.pach, stockfish-remove-net.patch + ------------------------------------------------------------------- Mon Feb 26 12:09:26 UTC 2024 - Michael Vetter diff --git a/stockfish.spec b/stockfish.spec index 90d1d91..b11451b 100644 --- a/stockfish.spec +++ b/stockfish.spec @@ -17,10 +17,10 @@ # See evaluate.h > EvalFileDefaultName -%define nnuenetS nn-baff1ede1f90.nnue -%define nnuenetB nn-b1a57edbea57.nnue +%define nnuenetS nn-37f18f62d772.nnue +%define nnuenetB nn-1111cefa1111.nnue Name: stockfish -Version: 16.1 +Version: 17 Release: 0 Summary: Chess engine License: GPL-3.0-or-later