From 78873477067733c73de0baa9bdf3167fd4f54d6ab60520f76034d42286ddc848 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 29 Apr 2021 10:23:07 +0000 Subject: [PATCH] Accepting request 889253 from home:susnux:branches:games Update to version 13 OBS-URL: https://build.opensuse.org/request/show/889253 OBS-URL: https://build.opensuse.org/package/show/games/stockfish?expand=0&rev=22 --- .gitattributes | 2 ++ Stockfish-sf_13.tar.gz | 3 +++ nn-62ef826d1a6d.nnue | 3 +++ nn-baeb9ef2d183.nnue.xz | 3 --- stockfish-12.tar.gz | 3 --- stockfish.changes | 15 +++++++++++++++ stockfish.spec | 14 ++++++-------- update-nnue.patch | 11 ----------- 8 files changed, 29 insertions(+), 25 deletions(-) create mode 100644 Stockfish-sf_13.tar.gz create mode 100644 nn-62ef826d1a6d.nnue delete mode 100644 nn-baeb9ef2d183.nnue.xz delete mode 100644 stockfish-12.tar.gz delete mode 100644 update-nnue.patch diff --git a/.gitattributes b/.gitattributes index 9b03811..f6f8828 100644 --- a/.gitattributes +++ b/.gitattributes @@ -21,3 +21,5 @@ *.xz filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text +## Specific LFS patterns +nn-62ef826d1a6d.nnue filter=lfs diff=lfs merge=lfs -text diff --git a/Stockfish-sf_13.tar.gz b/Stockfish-sf_13.tar.gz new file mode 100644 index 0000000..d9c324a --- /dev/null +++ b/Stockfish-sf_13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15d14721b3be17c597535bdbb44fb951a1ee948312d90fbf55fa0e52b8b81d62 +size 181226 diff --git a/nn-62ef826d1a6d.nnue b/nn-62ef826d1a6d.nnue new file mode 100644 index 0000000..f22c347 --- /dev/null +++ b/nn-62ef826d1a6d.nnue @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62ef826d1a6d11b9e814188025aa02a60815c037292e0ef9bbb9bf4f724e5e63 +size 21022697 diff --git a/nn-baeb9ef2d183.nnue.xz b/nn-baeb9ef2d183.nnue.xz deleted file mode 100644 index 6be39bb..0000000 --- a/nn-baeb9ef2d183.nnue.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:175e098e34da602515a157c9cc9702c917911147752a5cbb169cfe4006b218b1 -size 9636856 diff --git a/stockfish-12.tar.gz b/stockfish-12.tar.gz deleted file mode 100644 index 040de3b..0000000 --- a/stockfish-12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d1ec11d1cb8dfc5b33bcd6ec89ed0bafb3951cc1690851448a2696caa2022899 -size 176430 diff --git a/stockfish.changes b/stockfish.changes index 3e00aa8..0f8b621 100644 --- a/stockfish.changes +++ b/stockfish.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Apr 29 09:44:29 UTC 2021 - Ferdinand Thiessen + +- Update to version 13: + * Significantly stronger than any of its predecessors: + Stockfish 13 outperforms Stockfish 12 by at least 35 Elo + * When playing against a one-year-old Stockfish, it wins 60 times + more game pairs than it loses + * An NNUE network retrained on billions of positions + * Much faster network evaluation code + * Significantly improved search heuristics + * Additional evaluation tweaks +- Drop update-nnue.patch in favor of the release one +- Use SourceUrl for nnue + ------------------------------------------------------------------- Sat Oct 10 00:00:00 CEST 2020 - dsterba@suse.cz diff --git a/stockfish.spec b/stockfish.spec index 1805d97..1f42c95 100644 --- a/stockfish.spec +++ b/stockfish.spec @@ -16,22 +16,21 @@ # -%define nnuenet nn-baeb9ef2d183.nnue - +# See evaluate.h > EvalFileDefaultName +%define nnuenet nn-62ef826d1a6d.nnue Name: stockfish -Version: 12 +Version: 13 Release: 0 Summary: Chess engine License: GPL-3.0-or-later URL: http://stockfishchess.org -Source0: https://github.com/official-stockfish/Stockfish/archive/sf_%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/official-stockfish/Stockfish/archive/sf_%{version}.tar.gz#/Stockfish-sf_%{version}.tar.gz +Source1: https://tests.stockfishchess.org/api/nn/%{nnuenet} # steal some documentation from ubuntu Source10: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/%{name}/vivid/download/head:/engineinterface.txt-20091204230329-yljoyxocuxhxg1ot-78/engine-interface.txt#/%{name}-interface.txt Source11: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/%{name}/vivid/download/head:/%{name}.6-20091204230329-yljoyxocuxhxg1ot-76/%{name}.6 -Source12: %{nnuenet}.xz # If 'Version' is not set it will display the date as version number. We dont want __DATE__ and Version is set anyways. Patch0: date.patch -Patch1: update-nnue.patch BuildRequires: dos2unix BuildRequires: gcc-c++ BuildRequires: xz @@ -52,9 +51,8 @@ information about how to use Stockfish with your GUI. %prep %setup -q -n Stockfish-sf_%{version} %patch0 -p1 -%patch1 -p0 +cp %{SOURCE1} src/ cp -p %{SOURCE10} %{SOURCE11} . -xz -cd %{SOURCE12} > src/%{nnuenet} dos2unix %{name}-interface.txt dos2unix Copying.txt diff --git a/update-nnue.patch b/update-nnue.patch deleted file mode 100644 index 61b2e9f..0000000 --- a/update-nnue.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/evaluate.h.orig 2020-10-10 13:33:54.744383007 +0200 -+++ src/evaluate.h 2020-10-10 13:34:04.772383312 +0200 -@@ -38,7 +38,7 @@ - // The default net name MUST follow the format nn-[SHA256 first 12 digits].nnue - // for the build process (profile-build and fishtest) to work. Do not change the - // name of the macro, as it is used in the Makefile. -- #define EvalFileDefaultName "nn-82215d0fd0df.nnue" -+ #define EvalFileDefaultName "nn-baeb9ef2d183.nnue" - - namespace NNUE { -