From: shtayerc <shtayerc@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
Date: Tue, 23 Feb 2021 08:46:36 +0100 [thread overview]
Message-ID: <20210223074636.jfpx-LGxz-egHYVlttY3RW8xIxggx5w16wq9hREwe7c@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
There is an updated pull request by shtayerc against master on the void-packages repository
https://github.com/shtayerc/void-packages lc0
https://github.com/void-linux/void-packages/pull/20392
New packages: lc0-openblas, lc0-opencl
A patch file from https://github.com/void-linux/void-packages/pull/20392.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lc0-20392.patch --]
[-- Type: text/x-diff, Size: 3503 bytes --]
From ccb8a10899257c88fc6606212f041f497eaa7bd1 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 12 May 2020 18:19:07 +0200
Subject: [PATCH 1/2] New package: lc0-opencl-0.27.0
---
srcpkgs/lc0-opencl/template | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 srcpkgs/lc0-opencl/template
diff --git a/srcpkgs/lc0-opencl/template b/srcpkgs/lc0-opencl/template
new file mode 100644
index 00000000000..7dd084198ca
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.27.0
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=00fd892e648160c294346c87449126d9bad80a16
+hostmakedepends="tar pkg-config"
+makedepends="ocl-icd-devel protobuf-devel zlib-devel eigen"
+short_desc="UCI chess engine designed to play via neural network - OpenCL backend"
+maintainer="shtayerc <david.murko@mailbox.org>"
+license="GPL-3.0-only"
+homepage="http://lczero.org"
+distfiles="https://github.com/LeelaChessZero/lc0/archive/v${version}.tar.gz
+ https://github.com/LeelaChessZero/lczero-common/archive/${_githash}.tar.gz"
+checksum="2f38cd5fb1822798d10d806fe8930f60a5b3a7f92b9dfcbbeb210df8a8b37b86
+ c3de32a249b25f092218b7550ce00134998cf3fef8ebbb08801883ed48f36576"
+
+alternatives="lc0:lc0:/usr/bin/lc0-opencl"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ LDFLAGS+=-latomic
+ makedepends+=" libatomic-devel"
+fi
+
+post_extract() {
+ cp -a ../lczero-common-${_githash}/proto/ ./libs/lczero-common/
+}
+
+do_install() {
+ vbin build/release/lc0 lc0-opencl
+}
From 1de3466e9c706544fd56d57602a2fc2ea3d607bd Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 12 May 2020 18:18:57 +0200
Subject: [PATCH 2/2] New package: lc0-openblas-0.27.0
---
srcpkgs/lc0-openblas/template | 38 +++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 srcpkgs/lc0-openblas/template
diff --git a/srcpkgs/lc0-openblas/template b/srcpkgs/lc0-openblas/template
new file mode 100644
index 00000000000..1d3b0af0c5d
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,38 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.27.0
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=00fd892e648160c294346c87449126d9bad80a16
+hostmakedepends="tar pkg-config"
+makedepends="openblas-devel protobuf-devel zlib-devel eigen"
+short_desc="UCI chess engine designed to play via neural network - OpenBLAS backend"
+maintainer="shtayerc <david.murko@mailbox.org>"
+license="GPL-3.0-only"
+homepage="http://lczero.org"
+distfiles="https://github.com/LeelaChessZero/lc0/archive/v${version}.tar.gz
+ https://github.com/LeelaChessZero/lczero-common/archive/${_githash}.tar.gz"
+checksum="2f38cd5fb1822798d10d806fe8930f60a5b3a7f92b9dfcbbeb210df8a8b37b86
+ c3de32a249b25f092218b7550ce00134998cf3fef8ebbb08801883ed48f36576"
+
+alternatives="lc0:lc0:/usr/bin/lc0-openblas"
+
+if [ "$CROSS_BUILD" ]; then
+ configure_args+=" -Dopenblas_include=${XBPS_CROSS_BASE}/usr/include/openblas/"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ LDFLAGS+=-latomic
+ makedepends+=" libatomic-devel"
+fi
+
+post_extract() {
+ cp -a ../lczero-common-${_githash}/proto/ ./libs/lczero-common/
+}
+
+do_install() {
+ vbin build/release/lc0 lc0-openblas
+}
next prev parent reply other threads:[~2021-02-23 7:46 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
2020-03-30 17:49 ` shtayerc
2020-03-30 19:20 ` shtayerc
2020-03-30 19:50 ` shtayerc
2020-05-11 20:34 ` shtayerc
2020-05-11 20:39 ` shtayerc
2020-05-11 20:40 ` shtayerc
2020-05-12 16:19 ` [PR PATCH] [Updated] " shtayerc
2020-07-08 9:48 ` shtayerc
2020-07-08 10:04 ` shtayerc
2020-07-17 15:48 ` shtayerc
2020-09-06 10:00 ` shtayerc
2020-12-17 16:48 ` shtayerc
2021-02-23 7:44 ` shtayerc
2021-02-23 7:46 ` shtayerc [this message]
2021-08-08 21:34 ` ericonr
2021-08-10 9:44 ` [PR PATCH] [Updated] " shtayerc
2021-08-10 11:01 ` [PR PATCH] [Updated] New package: lc0 shtayerc
2021-08-10 17:18 ` shtayerc
2021-08-10 17:24 ` [PR REVIEW] " ericonr
2021-08-10 17:24 ` ericonr
2021-08-10 17:24 ` ericonr
2021-08-10 17:24 ` ericonr
2021-08-10 17:24 ` ericonr
2021-08-10 17:24 ` ericonr
2021-08-10 18:06 ` [PR PATCH] [Updated] " shtayerc
2021-08-10 18:11 ` [PR REVIEW] " shtayerc
2021-08-10 18:18 ` ericonr
2021-08-10 19:33 ` [PR PATCH] [Updated] " shtayerc
2021-08-10 19:37 ` [PR REVIEW] " shtayerc
2021-08-10 19:56 ` ericonr
2021-08-10 20:00 ` ericonr
2021-08-10 20:04 ` ericonr
2021-08-10 20:08 ` ericonr
2021-08-11 6:21 ` shtayerc
2021-08-28 5:57 ` [PR PATCH] [Updated] " shtayerc
2021-08-28 20:06 ` shtayerc
2021-11-14 8:15 ` [PR REVIEW] " ericonr
2021-11-14 9:01 ` [PR PATCH] [Updated] " shtayerc
2021-11-18 17:48 ` [PR REVIEW] " shtayerc
2021-11-19 1:53 ` [PR PATCH] [Merged]: " ericonr
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=20210223074636.jfpx-LGxz-egHYVlttY3RW8xIxggx5w16wq9hREwe7c@z \
--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).