Ana Guerrero 2024-09-12 14:56:16 +00:00 committed by Git OBS Bridge
commit f6805eae15
11 changed files with 48 additions and 28 deletions

4
.gitattributes vendored
View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a5f94793b5d4155310397ba89e9c4266570ef0f24cd47de41a9103556f811b82
size 176846

3
Stockfish-sf_17.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f9b52285c3348c065b7cb58410626df16d7416a2e60a3b04f3ec7c038e67ad1
size 204647

View File

@ -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)

3
nn-1111cefa1111.nnue Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1111cefa11116b77161bd4b14dab4c50f26e5920c756f4861592be3dcd6de174
size 74874478

3
nn-37f18f62d772.nnue Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37f18f62d772f3107e1d6aaca3898c130c3c86f2ab63e6555fbbca20635a899d
size 3519630

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1a57edbea574ca8b88d6837473845791beb53d885f87f86d5ccdd5659fbf3b2
size 65429575

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:baff1ede1f90c1dd1b4f772f1eff29848821801e8186345da7f0eb4121bd6f63
size 3480122

View File

@ -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

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Mon Sep 9 06:09:08 UTC 2024 - Michael Vetter <mvetter@suse.com>
- 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 <mvetter@suse.com>

View File

@ -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