emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43795: closed ([PATCH] gnu: stockfish: Update to 12.)


From: GNU bug Tracking System
Subject: bug#43795: closed ([PATCH] gnu: stockfish: Update to 12.)
Date: Tue, 06 Oct 2020 11:53:01 +0000

Your message dated Tue, 06 Oct 2020 13:52:38 +0200
with message-id <87o8lf3721.fsf@gnu.org>
and subject line Re: [bug#43795] [PATCH] gnu: stockfish: Update to 12.
has caused the debbugs.gnu.org bug report #43795,
regarding [PATCH] gnu: stockfish: Update to 12.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
43795: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43795
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: stockfish: Update to 12. Date: Sun, 4 Oct 2020 17:33:59 +0200
* gnu/packages/games.scm (stockfish): Update to 12.
---
 gnu/packages/games.scm | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 28c1492b26..30aa7b9a25 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -11407,7 +11407,7 @@ etc.  You can also play games on FICS or against an 
engine.")
 (define-public stockfish
   (package
     (name "stockfish")
-    (version "11")
+    (version "12")
     (source
      (origin
        (method git-fetch)
@@ -11416,8 +11416,15 @@ etc.  You can also play games on FICS or against an 
engine.")
              (commit (string-append "sf_" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "12mppipinymj8s1ipq9a7is453vncly49c32ym9wvyklsgyxfzlk"))))
+        (base32 "0vcymbwp5nf114pp3ax40s21ki5dckda15vmhr77d1mnq3fn0l32"))))
     (build-system gnu-build-system)
+    (inputs
+     `(("net"
+        ,(origin
+           (method url-fetch)
+           (uri "https://tests.stockfishchess.org/api/nn/nn-82215d0fd0df.nnue";)
+           (sha256
+            (base32 
"1r4yqrh4di05syyhl84hqcz84djpbd605b27zhbxwg6zs07ms8c2"))))))
     (arguments
      `(#:tests? #f
        #:make-flags (list "-C" "src"
@@ -11433,7 +11440,11 @@ etc.  You can also play games on FICS or against an 
engine.")
                                             ("mips64el-linux" "general-64")
                                             (_ "general-32"))))
        #:phases (modify-phases %standard-phases
-                  (delete 'configure))))
+                  (delete 'configure)
+                  (add-after 'unpack 'copy-net
+                    (lambda* (#:key inputs #:allow-other-keys)
+                      (copy-file (assoc-ref inputs "net") 
"src/nn-82215d0fd0df.nnue")
+                      #t)))))
     (synopsis "Strong chess engine")
     (description
      "Stockfish is a very strong chess engines.  It is much stronger than the
-- 
2.28.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#43795] [PATCH] gnu: stockfish: Update to 12. Date: Tue, 06 Oct 2020 13:52:38 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
> Ok, did this and renamed the input to "neural-network".

Nice, pushed as b343f5d8fdea44ebcf2e8459f4a3b1ce7da07df2.

Thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]