lc0: update to 0.29.0

Close: #41066
This commit is contained in:
shtayerc 2022-12-13 19:00:31 +01:00 committed by Đoàn Trần Công Danh
parent b86538424f
commit 8ebbffa962
2 changed files with 20 additions and 4 deletions

View File

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

View File

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