* [PR PATCH] lc0: update to 0.29.0
@ 2022-12-13 18:03 shtayerc
2022-12-13 19:14 ` [PR PATCH] [Updated] " sgn
2022-12-18 1:17 ` [PR PATCH] [Closed]: " sgn
0 siblings, 2 replies; 3+ messages in thread
From: shtayerc @ 2022-12-13 18:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]
There is a new pull request by shtayerc against master on the void-packages repository
https://github.com/shtayerc/void-packages lc0-0290
https://github.com/void-linux/void-packages/pull/41066
lc0: update to 0.29.0
<!-- 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/41066.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lc0-0290-41066.patch --]
[-- Type: text/x-diff, Size: 1504 bytes --]
From c18a47363fc2a491e5149d3c0663aa39c5e55b23 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 13 Dec 2022 19:00:31 +0100
Subject: [PATCH] lc0: update to 0.29.0
---
srcpkgs/lc0/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/lc0/template b/srcpkgs/lc0/template
index 28425cd19f3e..9e419aa99689 100644
--- a/srcpkgs/lc0/template
+++ b/srcpkgs/lc0/template
@@ -1,12 +1,12 @@
# Template file for 'lc0'
pkgname=lc0
-version=0.28.2
+version=0.29.0
revision=1
archs="x86_64* i686* aarch64* armv[67]l* ppc64le*"
create_wrksrc=yes
build_style=meson
configure_args="-Dgtest=false"
-_lczero_commit=5680c5fad9f3b52288d67f738b272fd09de5ee0b
+_lczero_commit=4dfa4ce8339357819f7de01517e6297d4c768cdf
hostmakedepends="pkg-config"
makedepends="protobuf-devel zlib-devel eigen $(vopt_if openblas openblas-devel)
$(vopt_if opencl ocl-icd-devel)"
@@ -16,8 +16,8 @@ license="GPL-3.0-only"
homepage="https://lczero.org"
distfiles="https://github.com/LeelaChessZero/lc0/archive/v${version}.tar.gz
https://github.com/LeelaChessZero/lczero-common/archive/${_lczero_commit}.tar.gz"
-checksum="5fe8a39c82a9be2b185b57d093417ed290fc36596cb23bc731e05a57fa70f65c
- def7b572df6c3e8f5307afa8abb242d51c0e8d200b12dd56466fff11b9bc4cf8"
+checksum="3d3cd99bc5a82c5da2b8985ee6db4e1a2ff179e012da777319257d48c8a7c59d
+ d2a4bd614c01e639b70cbf14cb7d3b732f157ae6bc4865d49697e89837af8d82"
build_options="openblas opencl"
build_options_default="openblas"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] lc0: update to 0.29.0
2022-12-13 18:03 [PR PATCH] lc0: update to 0.29.0 shtayerc
@ 2022-12-13 19:14 ` sgn
2022-12-18 1:17 ` [PR PATCH] [Closed]: " sgn
1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2022-12-13 19:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]
There is an updated pull request by sgn against master on the void-packages repository
https://github.com/shtayerc/void-packages lc0-0290
https://github.com/void-linux/void-packages/pull/41066
lc0: update to 0.29.0
<!-- 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/41066.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lc0-0290-41066.patch --]
[-- Type: text/x-diff, Size: 2746 bytes --]
From c18a47363fc2a491e5149d3c0663aa39c5e55b23 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 13 Dec 2022 19:00:31 +0100
Subject: [PATCH 1/2] lc0: update to 0.29.0
---
srcpkgs/lc0/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/lc0/template b/srcpkgs/lc0/template
index 28425cd19f3e..9e419aa99689 100644
--- a/srcpkgs/lc0/template
+++ b/srcpkgs/lc0/template
@@ -1,12 +1,12 @@
# Template file for 'lc0'
pkgname=lc0
-version=0.28.2
+version=0.29.0
revision=1
archs="x86_64* i686* aarch64* armv[67]l* ppc64le*"
create_wrksrc=yes
build_style=meson
configure_args="-Dgtest=false"
-_lczero_commit=5680c5fad9f3b52288d67f738b272fd09de5ee0b
+_lczero_commit=4dfa4ce8339357819f7de01517e6297d4c768cdf
hostmakedepends="pkg-config"
makedepends="protobuf-devel zlib-devel eigen $(vopt_if openblas openblas-devel)
$(vopt_if opencl ocl-icd-devel)"
@@ -16,8 +16,8 @@ license="GPL-3.0-only"
homepage="https://lczero.org"
distfiles="https://github.com/LeelaChessZero/lc0/archive/v${version}.tar.gz
https://github.com/LeelaChessZero/lczero-common/archive/${_lczero_commit}.tar.gz"
-checksum="5fe8a39c82a9be2b185b57d093417ed290fc36596cb23bc731e05a57fa70f65c
- def7b572df6c3e8f5307afa8abb242d51c0e8d200b12dd56466fff11b9bc4cf8"
+checksum="3d3cd99bc5a82c5da2b8985ee6db4e1a2ff179e012da777319257d48c8a7c59d
+ d2a4bd614c01e639b70cbf14cb7d3b732f157ae6bc4865d49697e89837af8d82"
build_options="openblas opencl"
build_options_default="openblas"
From 2013c8780a777b6fe7293cf19aeddf282554158c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx@gmail.com>
Date: Wed, 14 Dec 2022 02:13:11 +0700
Subject: [PATCH 2/2] fixup! lc0: update to 0.29.0
---
srcpkgs/lc0/patches/fix-32bit-build.patch | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/lc0/patches/fix-32bit-build.patch
diff --git a/srcpkgs/lc0/patches/fix-32bit-build.patch b/srcpkgs/lc0/patches/fix-32bit-build.patch
new file mode 100644
index 000000000000..82bfc5bb1878
--- /dev/null
+++ b/srcpkgs/lc0/patches/fix-32bit-build.patch
@@ -0,0 +1,16 @@
+Source: sgn
+Index: lc0-0.29.0/src/mcts/node.h
+===================================================================
+--- lc0-0.29.0.orig/src/mcts/node.h
++++ lc0-0.29.0/src/mcts/node.h
+@@ -328,6 +328,10 @@ class Node {
+ // Whether the child_ is actually an array of equal length to edges.
+ bool solid_children_ : 1;
+
++ // either uint8_t, uint16_t or uint32_t is fine.
++ // force size to 48 bytes in 32-bit platforms with 4 bytes alignment
++ uint8_t padding_ = 0;
++
+ // TODO(mooskagh) Unfriend NodeTree.
+ friend class NodeTree;
+ friend class Edge_Iterator<true>;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Closed]: lc0: update to 0.29.0
2022-12-13 18:03 [PR PATCH] lc0: update to 0.29.0 shtayerc
2022-12-13 19:14 ` [PR PATCH] [Updated] " sgn
@ 2022-12-18 1:17 ` sgn
1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2022-12-18 1:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]
There's a closed pull request on the void-packages repository
lc0: update to 0.29.0
https://github.com/void-linux/void-packages/pull/41066
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] 3+ messages in thread
end of thread, other threads:[~2022-12-18 1:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13 18:03 [PR PATCH] lc0: update to 0.29.0 shtayerc
2022-12-13 19:14 ` [PR PATCH] [Updated] " sgn
2022-12-18 1:17 ` [PR PATCH] [Closed]: " sgn
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).