Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] stockfish: update to 16
@ 2023-07-02 15:36 shtayerc
  2023-07-02 20:55 ` [PR PATCH] [Merged]: " Duncaen
  0 siblings, 1 reply; 2+ messages in thread
From: shtayerc @ 2023-07-02 15:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]

There is a new pull request by shtayerc against master on the void-packages repository

https://github.com/shtayerc/void-packages stockfish-16
https://github.com/void-linux/void-packages/pull/44791

stockfish: update to 16
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/44791.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-stockfish-16-44791.patch --]
[-- Type: text/x-diff, Size: 4649 bytes --]

From 45519cb53c9f07918f41e0a3de6766c772f1a57e Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Sun, 2 Jul 2023 17:33:25 +0200
Subject: [PATCH] stockfish: update to 16

---
 .../patches/makefile-nnue-download.patch      | 40 -------------------
 srcpkgs/stockfish/patches/makefile.patch      | 10 +++--
 srcpkgs/stockfish/template                    |  8 ++--
 3 files changed, 10 insertions(+), 48 deletions(-)
 delete mode 100644 srcpkgs/stockfish/patches/makefile-nnue-download.patch

diff --git a/srcpkgs/stockfish/patches/makefile-nnue-download.patch b/srcpkgs/stockfish/patches/makefile-nnue-download.patch
deleted file mode 100644
index 55a38c51ec11..000000000000
--- a/srcpkgs/stockfish/patches/makefile-nnue-download.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 61ea1534ff7026009a3435575c7beee91534db83 Mon Sep 17 00:00:00 2001
-From: Joost VandeVondele <Joost.VandeVondele@gmail.com>
-Date: Mon, 19 Dec 2022 17:54:36 +0100
-Subject: [PATCH] No error if net available but wget/curl missing
-
-do not error out on missing wget/curl if these tools are not needed later on,
-i.e. if the net is available already.
-
-closes https://github.com/official-stockfish/Stockfish/pull/4291
-closes https://github.com/official-stockfish/Stockfish/pull/4253
-
-No functional change
----
- src/Makefile | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/src/Makefile b/src/Makefile
-index da81ceb4a0..bcf0abdf5e 100644
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -853,7 +853,7 @@ net:
- 	$(eval nnuedownloadurl2 := https://github.com/official-stockfish/networks/raw/master/$(nnuenet))
- 	$(eval curl_or_wget := $(shell if hash curl 2>/dev/null; then echo "curl -skL"; elif hash wget 2>/dev/null; then echo "wget -qO-"; fi))
- 	@if [ "x$(curl_or_wget)" = "x" ]; then \
--	    echo "Automatic download failed: neither curl nor wget is installed. Install one of these tools or download the net manually"; exit 1; \
-+	    echo "Neither curl nor wget is installed. Install one of these tools unless the net has been downloaded manually"; \
-         fi
- 	$(eval shasum_command := $(shell if hash shasum 2>/dev/null; then echo "shasum -a 256 "; elif hash sha256sum 2>/dev/null; then echo "sha256sum "; fi))
- 	@if [ "x$(shasum_command)" = "x" ]; then \
-@@ -864,7 +864,9 @@ net:
- 	      echo "$(nnuenet) available."; \
- 	   else \
- 	      if [ "x$(curl_or_wget)" != "x" ]; then \
--	         echo "Downloading $${nnuedownloadurl}"; $(curl_or_wget) $${nnuedownloadurl} > $(nnuenet);\
-+                 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 \
diff --git a/srcpkgs/stockfish/patches/makefile.patch b/srcpkgs/stockfish/patches/makefile.patch
index 87aa039c722f..62b436ed5fd3 100644
--- a/srcpkgs/stockfish/patches/makefile.patch
+++ b/srcpkgs/stockfish/patches/makefile.patch
@@ -1,10 +1,11 @@
---- a/src/Makefile	2022-12-04 14:17:15.000000000 +0100
-+++ b/src/Makefile	2022-12-05 16:52:13.648959706 +0100
-@@ -366,27 +366,5 @@ endif
+--- a/src/Makefile	2023-07-02 17:28:33.297238434 +0200
++++ b/src/Makefile	2023-07-02 17:28:50.820207636 +0200
+@@ -377,29 +377,7 @@
+ 
  ifeq ($(COMP),gcc)
  	comp=gcc
 -	CXX=g++
- 	CXXFLAGS += -pedantic -Wextra -Wshadow
+ 	CXXFLAGS += -pedantic -Wextra -Wshadow -Wmissing-declarations
 -
 -	ifeq ($(arch),$(filter $(arch),armv7 armv8 riscv64))
 -		ifeq ($(OS),Android)
@@ -28,3 +29,4 @@
 -	endif
  endif
  
+ ifeq ($(target_windows),yes)
diff --git a/srcpkgs/stockfish/template b/srcpkgs/stockfish/template
index c04e296027f5..363603f83d5a 100644
--- a/srcpkgs/stockfish/template
+++ b/srcpkgs/stockfish/template
@@ -1,8 +1,8 @@
 # Template file for 'stockfish'
 pkgname=stockfish
-version=15.1
+version=16
 revision=1
-_net_file=nn-ad9b42354671.nnue
+_net_file=nn-5af11540bbfe.nnue
 build_wrksrc=src
 build_style=gnu-makefile
 make_build_target=build
@@ -14,8 +14,8 @@ license="GPL-3.0-or-later"
 homepage="http://stockfishchess.org/"
 distfiles="https://github.com/official-stockfish/Stockfish/archive/sf_${version}.tar.gz
  https://tests.stockfishchess.org/api/nn/${_net_file}"
-checksum="d4272657905319328294355973faee40a8c28e3eecb0e7b266ed34ff33383b76
- ad9b423546714137916bd38978af6fd68d7b8951bef25ff76bf43da72d6cb786"
+checksum="a1600ebdaf4e324ba3e10cec2e0c9a810dc64c6f0db5cc955b2fd5e1eefa1cc6
+ 5af11540bbfefcb54e38c5dd000cab4b469dfa7599a1d55be5d2722c20a8929b"
 skip_extraction="${_net_file}"
 
 LDFLAGS+="-lpthread -Wl,-z,stack-size=2097152"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: stockfish: update to 16
  2023-07-02 15:36 [PR PATCH] stockfish: update to 16 shtayerc
@ 2023-07-02 20:55 ` Duncaen
  0 siblings, 0 replies; 2+ messages in thread
From: Duncaen @ 2023-07-02 20:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]

There's a merged pull request on the void-packages repository

stockfish: update to 16
https://github.com/void-linux/void-packages/pull/44791

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-02 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-02 15:36 [PR PATCH] stockfish: update to 16 shtayerc
2023-07-02 20:55 ` [PR PATCH] [Merged]: " Duncaen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).