4 Commits

Author SHA256 Message Date
e4d79c2b45 Accepting request 1266620 from games
- Update to 17.1:
  * Quality of chess play
    In our testing against its predecessor, Stockfish 17.1 shows a
    consistent improvement in performance, with an Elo gain of up
    to 20 points and winning close to 2 times more game pairs than
    it loses.
  * New speedtest command
    The new speedtest command benchmarks your computer's performance (measured
    in nodes per second) using a realistic and stable test. To run it, you'll
    need command line access—give it a try and share your results with the community!
  * Improved hardware support
    Stockfish is no longer limited to 1024 threads and will allow users to specify
    whatever their system is capable of. Additionally, hardware such as ppc64 and
    Loongson is now better supported at build time.
  * Bug fixes for tablebase support
    Our previous release introduced improved engine lines (principal variations)
    ending in mate as soon as a mate score is announced. A side effect of this
    improvement was a rare corner case involving cursed tablebase wins, only relevant
    in correspondence chess when the 50-move rule does not apply, which has now been
    fixed. Relatedly, time management has also been improved to avoid potential time losses.

OBS-URL: https://build.opensuse.org/request/show/1266620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/stockfish?expand=0&rev=16
2025-04-02 16:53:51 +00:00
9d7b6a771e OBS-URL: https://build.opensuse.org/package/show/games/stockfish?expand=0&rev=38 2025-04-02 15:56:26 +00:00
94ea676a1a OBS-URL: https://build.opensuse.org/package/show/games/stockfish?expand=0&rev=37 2025-04-02 15:40:11 +00:00
974b66d11a - Update to 17.1:
* Quality of chess play
    In our testing against its predecessor, Stockfish 17.1 shows a
    consistent improvement in performance, with an Elo gain of up
    to 20 points and winning close to 2 times more game pairs than
    it loses.
  * New speedtest command
    The new speedtest command benchmarks your computer's performance (measured
    in nodes per second) using a realistic and stable test. To run it, you'll
    need command line access—give it a try and share your results with the community!
  * Improved hardware support
    Stockfish is no longer limited to 1024 threads and will allow users to specify
    whatever their system is capable of. Additionally, hardware such as ppc64 and
    Loongson is now better supported at build time.
  * Bug fixes for tablebase support
    Our previous release introduced improved engine lines (principal variations)
    ending in mate as soon as a mate score is announced. A side effect of this
    improvement was a rare corner case involving cursed tablebase wins, only relevant
    in correspondence chess when the 50-move rule does not apply, which has now been
    fixed. Relatedly, time management has also been improved to avoid potential time losses.

OBS-URL: https://build.opensuse.org/package/show/games/stockfish?expand=0&rev=36
2025-04-02 13:42:24 +00:00
8 changed files with 42 additions and 71 deletions

2
.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-1111cefa1111.nnue filter=lfs diff=lfs merge=lfs -text
nn-1c0000000000.nnue filter=lfs diff=lfs merge=lfs -text
nn-37f18f62d772.nnue filter=lfs diff=lfs merge=lfs -text

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

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

View File

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

View File

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

3
nn-1c0000000000.nnue Normal file
View File

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

View File

@@ -1,16 +1,8 @@
Index: Stockfish-sf_17/src/Makefile
Index: Stockfish-sf_17.1/src/Makefile
===================================================================
--- 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"
- @echo "net > Download the default nnue nets"
@echo "strip > Strip executable"
@echo "install > Install executable"
@echo "clean > Clean up"
@@ -862,20 +861,20 @@ ifneq ($(SUPPORTED_ARCH), true)
--- Stockfish-sf_17.1.orig/src/Makefile
+++ Stockfish-sf_17.1/src/Makefile
@@ -927,20 +927,20 @@ ifneq ($(SUPPORTED_ARCH), true)
endif
@@ -35,61 +27,16 @@ Index: Stockfish-sf_17/src/Makefile
@echo ""
@echo "Step 1/4. Building instrumented executable ..."
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_make)
@@ -917,44 +916,6 @@ profileclean:
@rm -f stockfish.res
@rm -f ./-lstdc++.res
-define fetch_network
- @echo "Default net: $(nnuenet)"
- @if [ "x$(curl_or_wget)" = "x" ]; then \
- echo "Neither curl nor wget is installed. Install one of these tools unless the net has been downloaded manually"; \
- fi
- @if [ "x$(shasum_command)" = "x" ]; then \
- echo "shasum / sha256sum not found, skipping net validation"; \
- elif test -f "$(nnuenet)"; then \
- if [ "$(nnuenet)" != "nn-"`$(shasum_command) $(nnuenet) | cut -c1-12`".nnue" ]; then \
- echo "Removing invalid network"; rm -f $(nnuenet); \
- fi; \
- fi;
- @for nnuedownloadurl in "$(nnuedownloadurl1)" "$(nnuedownloadurl2)"; do \
- if test -f "$(nnuenet)"; then \
- echo "$(nnuenet) available : OK"; break; \
- else \
- if [ "x$(curl_or_wget)" != "x" ]; then \
- echo "Downloading $${nnuedownloadurl}"; $(curl_or_wget) $${nnuedownloadurl} > $(nnuenet);\
- else \
- echo "No net found and download not possible"; exit 1;\
- fi; \
- fi; \
- if [ "x$(shasum_command)" != "x" ]; then \
- if [ "$(nnuenet)" != "nn-"`$(shasum_command) $(nnuenet) | cut -c1-12`".nnue" ]; then \
- echo "Removing failed download"; rm -f $(nnuenet); \
- fi; \
- fi; \
- done
- @if ! test -f "$(nnuenet)"; then \
- echo "Failed to download $(nnuenet)."; \
- fi;
- @if [ "x$(shasum_command)" != "x" ]; then \
- if [ "$(nnuenet)" = "nn-"`$(shasum_command) $(nnuenet) | cut -c1-12`".nnue" ]; then \
- echo "Network validated"; break; \
- fi; \
- fi;
-endef
-
# 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/'))
@@ -984,7 +945,7 @@ default:
@@ -999,7 +999,7 @@ default:
all: $(EXE) .depend
-config-sanity: net
+config-sanity:
@echo ""
@echo "Config:"
@echo "debug: '$(debug)'"
@@ -1093,6 +1054,6 @@ icx-profile-use:
@echo "Config:" && \
echo "debug: '$(debug)'" && \
@@ -1118,6 +1118,6 @@ icx-profile-use:
.depend: $(SRCS)
-@$(CXX) $(DEPENDFLAGS) -MM $(SRCS) > $@ 2> /dev/null

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Wed Apr 2 13:40:32 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 17.1:
* Quality of chess play
In our testing against its predecessor, Stockfish 17.1 shows a
consistent improvement in performance, with an Elo gain of up
to 20 points and winning close to 2 times more game pairs than
it loses.
* New speedtest command
The new speedtest command benchmarks your computer's performance (measured
in nodes per second) using a realistic and stable test. To run it, you'll
need command line access—give it a try and share your results with the community!
* Improved hardware support
Stockfish is no longer limited to 1024 threads and will allow users to specify
whatever their system is capable of. Additionally, hardware such as ppc64 and
Loongson is now better supported at build time.
* Bug fixes for tablebase support
Our previous release introduced improved engine lines (principal variations)
ending in mate as soon as a mate score is announced. A side effect of this
improvement was a rare corner case involving cursed tablebase wins, only relevant
in correspondence chess when the 50-move rule does not apply, which has now been
fixed. Relatedly, time management has also been improved to avoid potential time losses.
-------------------------------------------------------------------
Mon Sep 9 06:09:08 UTC 2024 - Michael Vetter <mvetter@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package stockfish
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,9 +18,9 @@
# See evaluate.h > EvalFileDefaultName
%define nnuenetS nn-37f18f62d772.nnue
%define nnuenetB nn-1111cefa1111.nnue
%define nnuenetB nn-1c0000000000.nnue
Name: stockfish
Version: 17
Version: 17.1
Release: 0
Summary: Chess engine
License: GPL-3.0-or-later