Dominique Leuenberger 2021-04-29 20:46:39 +00:00 committed by Git OBS Bridge
commit 3ff65cef74
8 changed files with 29 additions and 25 deletions

2
.gitattributes vendored
View File

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

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

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

3
nn-62ef826d1a6d.nnue Normal file
View File

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

View File

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

View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Apr 29 09:44:29 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- 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

View File

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

View File

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