From: shtayerc <shtayerc@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] stockfish: update to 16.1
Date: Sat, 24 Feb 2024 19:14:38 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48915@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]
There is a new pull request by shtayerc against master on the void-packages repository
https://github.com/shtayerc/void-packages stockfish-161
https://github.com/void-linux/void-packages/pull/48915
stockfish: update to 16.1
<!-- 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/48915.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-stockfish-161-48915.patch --]
[-- Type: text/x-diff, Size: 2782 bytes --]
From f11c3689d095395012a176515b9a14e80e20a92b Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Sat, 24 Feb 2024 19:13:15 +0000
Subject: [PATCH] stockfish: update to 16.1
---
srcpkgs/stockfish/patches/makefile.patch | 8 +++++---
srcpkgs/stockfish/template | 18 +++++++++++-------
2 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/srcpkgs/stockfish/patches/makefile.patch b/srcpkgs/stockfish/patches/makefile.patch
index 62b436ed5fd32b..44a5f7099e8d65 100644
--- a/srcpkgs/stockfish/patches/makefile.patch
+++ b/srcpkgs/stockfish/patches/makefile.patch
@@ -1,6 +1,6 @@
---- 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 @@
+--- a/src/Makefile 2024-02-24 18:59:34.151734872 +0000
++++ b/src/Makefile 2024-02-24 19:01:49.798743474 +0000
+@@ -397,31 +397,7 @@ endif
ifeq ($(COMP),gcc)
comp=gcc
@@ -15,6 +15,8 @@
- ifeq ($(ARCH),riscv64)
- CXXFLAGS += -latomic
- endif
+- else ifeq ($(ARCH),loongarch64)
+- CXXFLAGS += -latomic
- else
- CXXFLAGS += -m$(bits)
- LDFLAGS += -m$(bits)
diff --git a/srcpkgs/stockfish/template b/srcpkgs/stockfish/template
index 0d2b2e1145c292..e8c96f45951a57 100644
--- a/srcpkgs/stockfish/template
+++ b/srcpkgs/stockfish/template
@@ -1,8 +1,9 @@
# Template file for 'stockfish'
pkgname=stockfish
-version=16
+version=16.1
revision=1
-_net_file=nn-5af11540bbfe.nnue
+_net_file_big=nn-b1a57edbea57.nnue
+_net_file_small=nn-baff1ede1f90.nnue
build_wrksrc=src
build_style=gnu-makefile
make_build_target=build
@@ -13,10 +14,12 @@ maintainer="shtayerc <david.murko@mailbox.org>"
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="a1600ebdaf4e324ba3e10cec2e0c9a810dc64c6f0db5cc955b2fd5e1eefa1cc6
- 5af11540bbfefcb54e38c5dd000cab4b469dfa7599a1d55be5d2722c20a8929b"
-skip_extraction="${_net_file}"
+ https://tests.stockfishchess.org/api/nn/${_net_file_big}
+ https://tests.stockfishchess.org/api/nn/${_net_file_small}"
+checksum="a5f94793b5d4155310397ba89e9c4266570ef0f24cd47de41a9103556f811b82
+ b1a57edbea574ca8b88d6837473845791beb53d885f87f86d5ccdd5659fbf3b2
+ baff1ede1f90c1dd1b4f772f1eff29848821801e8186345da7f0eb4121bd6f63"
+skip_extraction="${_net_file_big} ${_net_file_small}"
LDFLAGS+="-lpthread -Wl,-z,stack-size=2097152"
@@ -35,7 +38,8 @@ case $XBPS_TARGET_MACHINE in
esac
post_extract() {
- cp $XBPS_SRCDISTDIR/${pkgname}-${version}/${_net_file} ./src
+ cp $XBPS_SRCDISTDIR/${pkgname}-${version}/${_net_file_big} ./src
+ cp $XBPS_SRCDISTDIR/${pkgname}-${version}/${_net_file_small} ./src
}
do_install() {
next reply other threads:[~2024-02-24 18:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-24 18:14 shtayerc [this message]
2024-02-24 18:22 ` [PR PATCH] [Merged]: " leahneukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48915@inbox.vuxu.org \
--to=shtayerc@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).