Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [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
                   ` (38 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-03-30 17:49 UTC (permalink / raw)
  To: ml

[-- 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: 3300 bytes --]

From 6a31a15f75424b7c05b464b49c707c99e676553f Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 30 Mar 2020 19:49:41 +0200
Subject: [PATCH 1/2] New package: lc0-openblas-0.24.1

---
 srcpkgs/lc0-openblas/template | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 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..9a94ab2ec65
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,33 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.24.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=5b8667e4ab51e18b2ea26ac221723d6dd8f95533
+hostmakedepends="tar pkg-config"
+makedepends="openblas-devel protobuf-devel zlib-devel"
+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="6698e87f1b6e960322d026ab38c6bcc895112b5df30f37b2b1aaaf9e8ff1b33c
+ ed1012ee5cf86435b5c7fd72d177ee5679b454ef1b2c72825b0f5c437ad8be76"
+
+alternatives="lc0:lc0:/usr/bin/lc0-openblas"
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" -Dopenblas_include=${XBPS_CROSS_BASE}/usr/include/openblas/"
+fi
+
+post_extract() {
+	cp -a ../lczero-common-${_githash}/proto/ ./libs/lczero-common/
+}
+
+do_install() {
+	vbin build/release/lc0 lc0-openblas
+}

From 3bb51223246fc1600babdb606173993a97202cd8 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 30 Mar 2020 19:49:56 +0200
Subject: [PATCH 2/2] New package: lc0-opencl-0.24.1

---
 srcpkgs/lc0-opencl/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 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..e5e40f5c239
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,29 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.24.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=5b8667e4ab51e18b2ea26ac221723d6dd8f95533
+hostmakedepends="tar pkg-config"
+makedepends="libatomic-devel ocl-icd-devel protobuf-devel zlib-devel"
+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="6698e87f1b6e960322d026ab38c6bcc895112b5df30f37b2b1aaaf9e8ff1b33c
+ ed1012ee5cf86435b5c7fd72d177ee5679b454ef1b2c72825b0f5c437ad8be76"
+
+alternatives="lc0:lc0:/usr/bin/lc0-opencl"
+
+post_extract() {
+	cp -a ../lczero-common-${_githash}/proto/ ./libs/lczero-common/
+}
+
+do_install() {
+	vbin build/release/lc0 lc0-opencl
+}

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
  2020-03-30 17:49 ` [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl shtayerc
@ 2020-03-30 19:20 ` shtayerc
  2020-03-30 19:50 ` shtayerc
                   ` (37 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-03-30 19:20 UTC (permalink / raw)
  To: ml

[-- 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: 3402 bytes --]

From 6a31a15f75424b7c05b464b49c707c99e676553f Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 30 Mar 2020 19:49:41 +0200
Subject: [PATCH 1/2] New package: lc0-openblas-0.24.1

---
 srcpkgs/lc0-openblas/template | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 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..9a94ab2ec65
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,33 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.24.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=5b8667e4ab51e18b2ea26ac221723d6dd8f95533
+hostmakedepends="tar pkg-config"
+makedepends="openblas-devel protobuf-devel zlib-devel"
+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="6698e87f1b6e960322d026ab38c6bcc895112b5df30f37b2b1aaaf9e8ff1b33c
+ ed1012ee5cf86435b5c7fd72d177ee5679b454ef1b2c72825b0f5c437ad8be76"
+
+alternatives="lc0:lc0:/usr/bin/lc0-openblas"
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" -Dopenblas_include=${XBPS_CROSS_BASE}/usr/include/openblas/"
+fi
+
+post_extract() {
+	cp -a ../lczero-common-${_githash}/proto/ ./libs/lczero-common/
+}
+
+do_install() {
+	vbin build/release/lc0 lc0-openblas
+}

From dc4bf61db6bc8fad5911795788d7ca28cc30fc2a Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 30 Mar 2020 19:49:56 +0200
Subject: [PATCH 2/2] New package: lc0-opencl-0.24.1

---
 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..bb2d3cca06d
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.24.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=5b8667e4ab51e18b2ea26ac221723d6dd8f95533
+hostmakedepends="tar pkg-config"
+makedepends="ocl-icd-devel protobuf-devel zlib-devel"
+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="6698e87f1b6e960322d026ab38c6bcc895112b5df30f37b2b1aaaf9e8ff1b33c
+ ed1012ee5cf86435b5c7fd72d177ee5679b454ef1b2c72825b0f5c437ad8be76"
+
+alternatives="lc0:lc0:/usr/bin/lc0-opencl"
+
+if [ "$XBPS_TARGET_MACHINE" = "armv6l-musl" ]; 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
+}

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
  2020-03-30 17:49 ` [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl shtayerc
  2020-03-30 19:20 ` shtayerc
@ 2020-03-30 19:50 ` shtayerc
  2020-05-11 20:34 ` shtayerc
                   ` (36 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-03-30 19:50 UTC (permalink / raw)
  To: ml

[-- 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: 3517 bytes --]

From dd59a4753c0400c6cbb737a6ee4ba7bf988e4a68 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 30 Mar 2020 21:50:42 +0200
Subject: [PATCH 1/2] New package: lc0-openblas-0.24.1

---
 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..52991fcac85
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,38 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.24.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=5b8667e4ab51e18b2ea26ac221723d6dd8f95533
+hostmakedepends="tar pkg-config"
+makedepends="openblas-devel protobuf-devel zlib-devel"
+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="6698e87f1b6e960322d026ab38c6bcc895112b5df30f37b2b1aaaf9e8ff1b33c
+ ed1012ee5cf86435b5c7fd72d177ee5679b454ef1b2c72825b0f5c437ad8be76"
+
+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_MACHINE" = "armv6l-musl" ]; 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
+}

From b9aa0f38f780d2805b3c82017a46f619238fc881 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 30 Mar 2020 21:50:51 +0200
Subject: [PATCH 2/2] New package: lc0-opencl-0.24.1

---
 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..bb2d3cca06d
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.24.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=5b8667e4ab51e18b2ea26ac221723d6dd8f95533
+hostmakedepends="tar pkg-config"
+makedepends="ocl-icd-devel protobuf-devel zlib-devel"
+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="6698e87f1b6e960322d026ab38c6bcc895112b5df30f37b2b1aaaf9e8ff1b33c
+ ed1012ee5cf86435b5c7fd72d177ee5679b454ef1b2c72825b0f5c437ad8be76"
+
+alternatives="lc0:lc0:/usr/bin/lc0-opencl"
+
+if [ "$XBPS_TARGET_MACHINE" = "armv6l-musl" ]; 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
+}

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2020-03-30 19:50 ` shtayerc
@ 2020-05-11 20:34 ` shtayerc
  2020-05-11 20:39 ` shtayerc
                   ` (35 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-05-11 20:34 UTC (permalink / raw)
  To: ml

[-- 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: 9217 bytes --]

From dd59a4753c0400c6cbb737a6ee4ba7bf988e4a68 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 30 Mar 2020 21:50:42 +0200
Subject: [PATCH 1/4] New package: lc0-openblas-0.24.1

---
 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..52991fcac85
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,38 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.24.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=5b8667e4ab51e18b2ea26ac221723d6dd8f95533
+hostmakedepends="tar pkg-config"
+makedepends="openblas-devel protobuf-devel zlib-devel"
+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="6698e87f1b6e960322d026ab38c6bcc895112b5df30f37b2b1aaaf9e8ff1b33c
+ ed1012ee5cf86435b5c7fd72d177ee5679b454ef1b2c72825b0f5c437ad8be76"
+
+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_MACHINE" = "armv6l-musl" ]; 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
+}

From b9aa0f38f780d2805b3c82017a46f619238fc881 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 30 Mar 2020 21:50:51 +0200
Subject: [PATCH 2/4] New package: lc0-opencl-0.24.1

---
 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..bb2d3cca06d
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.24.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=5b8667e4ab51e18b2ea26ac221723d6dd8f95533
+hostmakedepends="tar pkg-config"
+makedepends="ocl-icd-devel protobuf-devel zlib-devel"
+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="6698e87f1b6e960322d026ab38c6bcc895112b5df30f37b2b1aaaf9e8ff1b33c
+ ed1012ee5cf86435b5c7fd72d177ee5679b454ef1b2c72825b0f5c437ad8be76"
+
+alternatives="lc0:lc0:/usr/bin/lc0-opencl"
+
+if [ "$XBPS_TARGET_MACHINE" = "armv6l-musl" ]; 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 6defbd90da5232985917586c3d2c42888aa894d0 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 11 May 2020 22:34:15 +0200
Subject: [PATCH 3/4] New package: lc0-openblas-0.25.1

---
 .../lc0-openblas/patches/eigen_nowrap.patch   | 24 +++++++++++++++++++
 srcpkgs/lc0-openblas/template                 | 10 ++++----
 2 files changed, 29 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/lc0-openblas/patches/eigen_nowrap.patch

diff --git a/srcpkgs/lc0-openblas/patches/eigen_nowrap.patch b/srcpkgs/lc0-openblas/patches/eigen_nowrap.patch
new file mode 100644
index 00000000000..af8ff7abb65
--- /dev/null
+++ b/srcpkgs/lc0-openblas/patches/eigen_nowrap.patch
@@ -0,0 +1,24 @@
+From 0e1158f4bf92e8cfcf20b63a8d61687ca3a79a4c Mon Sep 17 00:00:00 2001
+From: shtayerc <david.murko@mailbox.org>
+Date: Tue, 28 Apr 2020 19:46:13 +0200
+Subject: [PATCH] Check if eigen is availiable before pulling subproject
+
+This patch will be removed when
+https://github.com/LeelaChessZero/lc0/pull/1248 is merged
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git meson.build b/meson.build
+index 65591353a..929a48fa0 100644
+--- meson.build
++++ meson.build
+@@ -252,7 +252,7 @@ if get_option('build_backends')
+ 
+     endif
+ 
+-    deps += subproject('eigen').get_variable('eigen_dep')
++    deps += dependency('eigen3', fallback: ['eigen', 'eigen_dep'])
+ 
+     ispc = find_program('ispc', required: false)
+     ispc_extra_args = []
diff --git a/srcpkgs/lc0-openblas/template b/srcpkgs/lc0-openblas/template
index 52991fcac85..4f389a64dbd 100644
--- a/srcpkgs/lc0-openblas/template
+++ b/srcpkgs/lc0-openblas/template
@@ -1,22 +1,22 @@
 # Template file for 'lc0-openblas'
 pkgname=lc0-openblas
-version=0.24.1
+version=0.25.1
 revision=1
 wrksrc="lc0-${version}"
 build_style=meson
 configure_args="-Dgtest=false --buildtype=release"
 meson_builddir="build/release"
-_githash=5b8667e4ab51e18b2ea26ac221723d6dd8f95533
+_githash=a6539d613cf9076a0423b776dd5d03fc2ec0c3ac
 hostmakedepends="tar pkg-config"
-makedepends="openblas-devel protobuf-devel zlib-devel"
+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="6698e87f1b6e960322d026ab38c6bcc895112b5df30f37b2b1aaaf9e8ff1b33c
- ed1012ee5cf86435b5c7fd72d177ee5679b454ef1b2c72825b0f5c437ad8be76"
+checksum="b3ab5b84f86d52981cff4804821178462028940c22963d544a4af8d19e13ad74
+ 6d8e4609b5ad735c924cc8c13d7d2728f90e1eee29f43d761f0b5ac4072f976c"
 
 alternatives="lc0:lc0:/usr/bin/lc0-openblas"
 

From 00f2f11ebe358d6a305a82bb0f838e00d3677f35 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 11 May 2020 22:34:36 +0200
Subject: [PATCH 4/4] New package: lc0-opencl-0.25.1

---
 srcpkgs/lc0-opencl/patches/eigen_nowrap.patch | 24 +++++++++++++++++++
 srcpkgs/lc0-opencl/template                   | 10 ++++----
 2 files changed, 29 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/lc0-opencl/patches/eigen_nowrap.patch

diff --git a/srcpkgs/lc0-opencl/patches/eigen_nowrap.patch b/srcpkgs/lc0-opencl/patches/eigen_nowrap.patch
new file mode 100644
index 00000000000..af8ff7abb65
--- /dev/null
+++ b/srcpkgs/lc0-opencl/patches/eigen_nowrap.patch
@@ -0,0 +1,24 @@
+From 0e1158f4bf92e8cfcf20b63a8d61687ca3a79a4c Mon Sep 17 00:00:00 2001
+From: shtayerc <david.murko@mailbox.org>
+Date: Tue, 28 Apr 2020 19:46:13 +0200
+Subject: [PATCH] Check if eigen is availiable before pulling subproject
+
+This patch will be removed when
+https://github.com/LeelaChessZero/lc0/pull/1248 is merged
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git meson.build b/meson.build
+index 65591353a..929a48fa0 100644
+--- meson.build
++++ meson.build
+@@ -252,7 +252,7 @@ if get_option('build_backends')
+ 
+     endif
+ 
+-    deps += subproject('eigen').get_variable('eigen_dep')
++    deps += dependency('eigen3', fallback: ['eigen', 'eigen_dep'])
+ 
+     ispc = find_program('ispc', required: false)
+     ispc_extra_args = []
diff --git a/srcpkgs/lc0-opencl/template b/srcpkgs/lc0-opencl/template
index bb2d3cca06d..2d3631bbc9e 100644
--- a/srcpkgs/lc0-opencl/template
+++ b/srcpkgs/lc0-opencl/template
@@ -1,22 +1,22 @@
 # Template file for 'lc0-opencl'
 pkgname=lc0-opencl
-version=0.24.1
+version=0.25.1
 revision=1
 wrksrc="lc0-${version}"
 build_style=meson
 configure_args="-Dgtest=false --buildtype=release"
 meson_builddir="build/release"
-_githash=5b8667e4ab51e18b2ea26ac221723d6dd8f95533
+_githash=a6539d613cf9076a0423b776dd5d03fc2ec0c3ac
 hostmakedepends="tar pkg-config"
-makedepends="ocl-icd-devel protobuf-devel zlib-devel"
+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="6698e87f1b6e960322d026ab38c6bcc895112b5df30f37b2b1aaaf9e8ff1b33c
- ed1012ee5cf86435b5c7fd72d177ee5679b454ef1b2c72825b0f5c437ad8be76"
+checksum="b3ab5b84f86d52981cff4804821178462028940c22963d544a4af8d19e13ad74
+ 6d8e4609b5ad735c924cc8c13d7d2728f90e1eee29f43d761f0b5ac4072f976c"
 
 alternatives="lc0:lc0:/usr/bin/lc0-opencl"
 

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (3 preceding siblings ...)
  2020-05-11 20:34 ` shtayerc
@ 2020-05-11 20:39 ` shtayerc
  2020-05-11 20:40 ` shtayerc
                   ` (34 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-05-11 20:39 UTC (permalink / raw)
  To: ml

[-- 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: 5857 bytes --]

From 68c2325f959670762f7ed89b3be1ca7c1d68d82b Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 11 May 2020 22:34:15 +0200
Subject: [PATCH 1/2] New package: lc0-openblas-0.25.1

---
 .../lc0-openblas/patches/eigen_nowrap.patch   | 24 ++++++++++++
 srcpkgs/lc0-openblas/template                 | 38 +++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/lc0-openblas/patches/eigen_nowrap.patch
 create mode 100644 srcpkgs/lc0-openblas/template

diff --git a/srcpkgs/lc0-openblas/patches/eigen_nowrap.patch b/srcpkgs/lc0-openblas/patches/eigen_nowrap.patch
new file mode 100644
index 00000000000..af8ff7abb65
--- /dev/null
+++ b/srcpkgs/lc0-openblas/patches/eigen_nowrap.patch
@@ -0,0 +1,24 @@
+From 0e1158f4bf92e8cfcf20b63a8d61687ca3a79a4c Mon Sep 17 00:00:00 2001
+From: shtayerc <david.murko@mailbox.org>
+Date: Tue, 28 Apr 2020 19:46:13 +0200
+Subject: [PATCH] Check if eigen is availiable before pulling subproject
+
+This patch will be removed when
+https://github.com/LeelaChessZero/lc0/pull/1248 is merged
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git meson.build b/meson.build
+index 65591353a..929a48fa0 100644
+--- meson.build
++++ meson.build
+@@ -252,7 +252,7 @@ if get_option('build_backends')
+ 
+     endif
+ 
+-    deps += subproject('eigen').get_variable('eigen_dep')
++    deps += dependency('eigen3', fallback: ['eigen', 'eigen_dep'])
+ 
+     ispc = find_program('ispc', required: false)
+     ispc_extra_args = []
diff --git a/srcpkgs/lc0-openblas/template b/srcpkgs/lc0-openblas/template
new file mode 100644
index 00000000000..4f389a64dbd
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,38 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.25.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=a6539d613cf9076a0423b776dd5d03fc2ec0c3ac
+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="b3ab5b84f86d52981cff4804821178462028940c22963d544a4af8d19e13ad74
+ 6d8e4609b5ad735c924cc8c13d7d2728f90e1eee29f43d761f0b5ac4072f976c"
+
+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_MACHINE" = "armv6l-musl" ]; 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
+}

From 6e5e07318e4a4e479639c6092394092bba0f7085 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 11 May 2020 22:34:36 +0200
Subject: [PATCH 2/2] New package: lc0-opencl-0.25.1

---
 srcpkgs/lc0-opencl/patches/eigen_nowrap.patch | 24 +++++++++++++
 srcpkgs/lc0-opencl/template                   | 34 +++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/lc0-opencl/patches/eigen_nowrap.patch
 create mode 100644 srcpkgs/lc0-opencl/template

diff --git a/srcpkgs/lc0-opencl/patches/eigen_nowrap.patch b/srcpkgs/lc0-opencl/patches/eigen_nowrap.patch
new file mode 100644
index 00000000000..af8ff7abb65
--- /dev/null
+++ b/srcpkgs/lc0-opencl/patches/eigen_nowrap.patch
@@ -0,0 +1,24 @@
+From 0e1158f4bf92e8cfcf20b63a8d61687ca3a79a4c Mon Sep 17 00:00:00 2001
+From: shtayerc <david.murko@mailbox.org>
+Date: Tue, 28 Apr 2020 19:46:13 +0200
+Subject: [PATCH] Check if eigen is availiable before pulling subproject
+
+This patch will be removed when
+https://github.com/LeelaChessZero/lc0/pull/1248 is merged
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git meson.build b/meson.build
+index 65591353a..929a48fa0 100644
+--- meson.build
++++ meson.build
+@@ -252,7 +252,7 @@ if get_option('build_backends')
+ 
+     endif
+ 
+-    deps += subproject('eigen').get_variable('eigen_dep')
++    deps += dependency('eigen3', fallback: ['eigen', 'eigen_dep'])
+ 
+     ispc = find_program('ispc', required: false)
+     ispc_extra_args = []
diff --git a/srcpkgs/lc0-opencl/template b/srcpkgs/lc0-opencl/template
new file mode 100644
index 00000000000..2d3631bbc9e
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.25.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=a6539d613cf9076a0423b776dd5d03fc2ec0c3ac
+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="b3ab5b84f86d52981cff4804821178462028940c22963d544a4af8d19e13ad74
+ 6d8e4609b5ad735c924cc8c13d7d2728f90e1eee29f43d761f0b5ac4072f976c"
+
+alternatives="lc0:lc0:/usr/bin/lc0-opencl"
+
+if [ "$XBPS_TARGET_MACHINE" = "armv6l-musl" ]; 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
+}

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

* Re: New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (4 preceding siblings ...)
  2020-05-11 20:39 ` shtayerc
@ 2020-05-11 20:40 ` shtayerc
  2020-05-12 16:19 ` [PR PATCH] [Updated] " shtayerc
                   ` (33 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-05-11 20:40 UTC (permalink / raw)
  To: ml

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

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#issuecomment-604575594

Comment:
~~For xlint error there is already [pull request](https://github.com/leahneukirchen/xtools/pull/173). I would need some help with cross compiling.~~

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (5 preceding siblings ...)
  2020-05-11 20:40 ` shtayerc
@ 2020-05-12 16:19 ` shtayerc
  2020-07-08  9:48 ` shtayerc
                   ` (32 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-05-12 16:19 UTC (permalink / raw)
  To: ml

[-- 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: 5831 bytes --]

From 153005477321658b5e7c1c92323dfd67e23dd275 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 12 May 2020 18:18:57 +0200
Subject: [PATCH 1/2] New package: lc0-openblas-0.25.1

---
 .../lc0-openblas/patches/eigen_nowrap.patch   | 24 ++++++++++++
 srcpkgs/lc0-openblas/template                 | 38 +++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/lc0-openblas/patches/eigen_nowrap.patch
 create mode 100644 srcpkgs/lc0-openblas/template

diff --git a/srcpkgs/lc0-openblas/patches/eigen_nowrap.patch b/srcpkgs/lc0-openblas/patches/eigen_nowrap.patch
new file mode 100644
index 00000000000..af8ff7abb65
--- /dev/null
+++ b/srcpkgs/lc0-openblas/patches/eigen_nowrap.patch
@@ -0,0 +1,24 @@
+From 0e1158f4bf92e8cfcf20b63a8d61687ca3a79a4c Mon Sep 17 00:00:00 2001
+From: shtayerc <david.murko@mailbox.org>
+Date: Tue, 28 Apr 2020 19:46:13 +0200
+Subject: [PATCH] Check if eigen is availiable before pulling subproject
+
+This patch will be removed when
+https://github.com/LeelaChessZero/lc0/pull/1248 is merged
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git meson.build b/meson.build
+index 65591353a..929a48fa0 100644
+--- meson.build
++++ meson.build
+@@ -252,7 +252,7 @@ if get_option('build_backends')
+ 
+     endif
+ 
+-    deps += subproject('eigen').get_variable('eigen_dep')
++    deps += dependency('eigen3', fallback: ['eigen', 'eigen_dep'])
+ 
+     ispc = find_program('ispc', required: false)
+     ispc_extra_args = []
diff --git a/srcpkgs/lc0-openblas/template b/srcpkgs/lc0-openblas/template
new file mode 100644
index 00000000000..c843cc905c4
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,38 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.25.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=a6539d613cf9076a0423b776dd5d03fc2ec0c3ac
+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="b3ab5b84f86d52981cff4804821178462028940c22963d544a4af8d19e13ad74
+ 6d8e4609b5ad735c924cc8c13d7d2728f90e1eee29f43d761f0b5ac4072f976c"
+
+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
+}

From 05fa4a0f9b22c74e83c01f93d6b8c91b30c1040f Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 12 May 2020 18:19:07 +0200
Subject: [PATCH 2/2] New package: lc0-opencl-0.25.1

---
 srcpkgs/lc0-opencl/patches/eigen_nowrap.patch | 24 +++++++++++++
 srcpkgs/lc0-opencl/template                   | 34 +++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/lc0-opencl/patches/eigen_nowrap.patch
 create mode 100644 srcpkgs/lc0-opencl/template

diff --git a/srcpkgs/lc0-opencl/patches/eigen_nowrap.patch b/srcpkgs/lc0-opencl/patches/eigen_nowrap.patch
new file mode 100644
index 00000000000..af8ff7abb65
--- /dev/null
+++ b/srcpkgs/lc0-opencl/patches/eigen_nowrap.patch
@@ -0,0 +1,24 @@
+From 0e1158f4bf92e8cfcf20b63a8d61687ca3a79a4c Mon Sep 17 00:00:00 2001
+From: shtayerc <david.murko@mailbox.org>
+Date: Tue, 28 Apr 2020 19:46:13 +0200
+Subject: [PATCH] Check if eigen is availiable before pulling subproject
+
+This patch will be removed when
+https://github.com/LeelaChessZero/lc0/pull/1248 is merged
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git meson.build b/meson.build
+index 65591353a..929a48fa0 100644
+--- meson.build
++++ meson.build
+@@ -252,7 +252,7 @@ if get_option('build_backends')
+ 
+     endif
+ 
+-    deps += subproject('eigen').get_variable('eigen_dep')
++    deps += dependency('eigen3', fallback: ['eigen', 'eigen_dep'])
+ 
+     ispc = find_program('ispc', required: false)
+     ispc_extra_args = []
diff --git a/srcpkgs/lc0-opencl/template b/srcpkgs/lc0-opencl/template
new file mode 100644
index 00000000000..2608f1ca3de
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.25.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=a6539d613cf9076a0423b776dd5d03fc2ec0c3ac
+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="b3ab5b84f86d52981cff4804821178462028940c22963d544a4af8d19e13ad74
+ 6d8e4609b5ad735c924cc8c13d7d2728f90e1eee29f43d761f0b5ac4072f976c"
+
+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
+}

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (6 preceding siblings ...)
  2020-05-12 16:19 ` [PR PATCH] [Updated] " shtayerc
@ 2020-07-08  9:48 ` shtayerc
  2020-07-08 10:04 ` shtayerc
                   ` (31 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-07-08  9:48 UTC (permalink / raw)
  To: ml

[-- 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 4b068e380ef4898faf8a8b4a378a6b82a8b83353 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 12 May 2020 18:18:57 +0200
Subject: [PATCH 1/2] New package: lc0-openblas-0.26.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..cc603dffdf4
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,38 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.26.0
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+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="b3ab5b84f86d52981cff4804821178462028940c22963d544a4af8d19e13ad74
+ 6d8e4609b5ad735c924cc8c13d7d2728f90e1eee29f43d761f0b5ac4072f976c"
+
+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
+}

From cb2927fd219344cf6988e8f131b30532aeeed6fb Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 12 May 2020 18:19:07 +0200
Subject: [PATCH 2/2] New package: lc0-opencl-0.26.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..a663c9a2508
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.26.0
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+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="d3338225afe21c89b14308939a2ca326dbb835dcd9689336708675a6d87e7472
+ 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+
+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
+}

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (7 preceding siblings ...)
  2020-07-08  9:48 ` shtayerc
@ 2020-07-08 10:04 ` shtayerc
  2020-07-17 15:48 ` shtayerc
                   ` (30 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-07-08 10:04 UTC (permalink / raw)
  To: ml

[-- 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 94adf6a195748369c3e9d72ab4bc4f4a0b6a8e2c 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.26.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..a663c9a2508
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.26.0
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+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="d3338225afe21c89b14308939a2ca326dbb835dcd9689336708675a6d87e7472
+ 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+
+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 7b5b28d9eb6ee69c568d32ef744cbe1e7060df53 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.26.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..306b1a76e34
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,38 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.26.0
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+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="d3338225afe21c89b14308939a2ca326dbb835dcd9689336708675a6d87e7472
+ 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+
+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
+}

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (8 preceding siblings ...)
  2020-07-08 10:04 ` shtayerc
@ 2020-07-17 15:48 ` shtayerc
  2020-09-06 10:00 ` shtayerc
                   ` (29 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-07-17 15:48 UTC (permalink / raw)
  To: ml

[-- 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: 3509 bytes --]

From 3aea91d7080b53a92bf35e2f2355d176055f14c6 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.26.1

---
 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..1fc54cec114
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.26.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+hostmakedepends="tar pkg-config"
+makedepends="ocl-icd-devel protobuf-devel zlib-devel eigen3.2"
+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="8b9e9c4a0cc3fe6fd3bdebb418a52e2881bb9eb955ae72b7d9608c0f77fbb636
+ 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+
+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 587c4168eb9050374b972696a66853affb4df17a 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.26.1

---
 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..2ec31148324
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,38 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.26.1
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+hostmakedepends="tar pkg-config"
+makedepends="openblas-devel protobuf-devel zlib-devel eigen3.2"
+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="8b9e9c4a0cc3fe6fd3bdebb418a52e2881bb9eb955ae72b7d9608c0f77fbb636
+ 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+
+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
+}

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (9 preceding siblings ...)
  2020-07-17 15:48 ` shtayerc
@ 2020-09-06 10:00 ` shtayerc
  2020-12-17 16:48 ` shtayerc
                   ` (28 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-09-06 10:00 UTC (permalink / raw)
  To: ml

[-- 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: 3509 bytes --]

From 4569455c1f3f586a765bc2026da598b15e103926 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.26.2

---
 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..36de92539d5
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.26.2
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+hostmakedepends="tar pkg-config"
+makedepends="ocl-icd-devel protobuf-devel zlib-devel eigen3.2"
+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="2426c95a8fec15e0b3f66e85cae12fbe68fe45be3f3757ead1a456db641b28f5
+ 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+
+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 f961a8e92a564547027a74fb6d4e93e4a4e1dcf2 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.26.2

---
 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..666c27befa3
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,38 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.26.2
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+hostmakedepends="tar pkg-config"
+makedepends="openblas-devel protobuf-devel zlib-devel eigen3.2"
+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="2426c95a8fec15e0b3f66e85cae12fbe68fe45be3f3757ead1a456db641b28f5
+ 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+
+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
+}

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (10 preceding siblings ...)
  2020-09-06 10:00 ` shtayerc
@ 2020-12-17 16:48 ` shtayerc
  2021-02-23  7:44 ` shtayerc
                   ` (27 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2020-12-17 16:48 UTC (permalink / raw)
  To: ml

[-- 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 982d301c21e3e33189c1507ae44a13fa3a1a4d5d 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.26.3

---
 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..84c74ea9297
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.26.3
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+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="364e9836157d6001b2f9a26f395af0b8ed6c16c295014cec782f3dbe80656e2a
+ 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+
+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 18b431ab88ed453313c9d66e45962dff8281b2f1 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.26.3

---
 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..6e01cbaf720
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,38 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.26.3
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+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="364e9836157d6001b2f9a26f395af0b8ed6c16c295014cec782f3dbe80656e2a
+ 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+
+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
+}

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (11 preceding siblings ...)
  2020-12-17 16:48 ` shtayerc
@ 2021-02-23  7:44 ` shtayerc
  2021-02-23  7:46 ` shtayerc
                   ` (26 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-02-23  7:44 UTC (permalink / raw)
  To: ml

[-- 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: 6652 bytes --]

From 92180e06e732fc8d3902c147ac3edc9e8f392c94 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/4] New package: lc0-opencl-0.26.3

---
 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..84c74ea9297
--- /dev/null
+++ b/srcpkgs/lc0-opencl/template
@@ -0,0 +1,34 @@
+# Template file for 'lc0-opencl'
+pkgname=lc0-opencl
+version=0.26.3
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+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="364e9836157d6001b2f9a26f395af0b8ed6c16c295014cec782f3dbe80656e2a
+ 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+
+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 c06c88160f1a23392d617e973dc6348e85af6227 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/4] New package: lc0-openblas-0.26.3

---
 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..6e01cbaf720
--- /dev/null
+++ b/srcpkgs/lc0-openblas/template
@@ -0,0 +1,38 @@
+# Template file for 'lc0-openblas'
+pkgname=lc0-openblas
+version=0.26.3
+revision=1
+wrksrc="lc0-${version}"
+build_style=meson
+configure_args="-Dgtest=false --buildtype=release"
+meson_builddir="build/release"
+_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+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="364e9836157d6001b2f9a26f395af0b8ed6c16c295014cec782f3dbe80656e2a
+ 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+
+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
+}

From 2013ce5db8c018f78476d51e8bcc71c40f09b8b7 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 23 Feb 2021 08:48:06 +0100
Subject: [PATCH 3/4] New package: lc0-opencl-0.27.0

---
 srcpkgs/lc0-opencl/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/lc0-opencl/template b/srcpkgs/lc0-opencl/template
index 84c74ea9297..7dd084198ca 100644
--- a/srcpkgs/lc0-opencl/template
+++ b/srcpkgs/lc0-opencl/template
@@ -1,12 +1,12 @@
 # Template file for 'lc0-opencl'
 pkgname=lc0-opencl
-version=0.26.3
+version=0.27.0
 revision=1
 wrksrc="lc0-${version}"
 build_style=meson
 configure_args="-Dgtest=false --buildtype=release"
 meson_builddir="build/release"
-_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+_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"
@@ -15,8 +15,8 @@ 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="364e9836157d6001b2f9a26f395af0b8ed6c16c295014cec782f3dbe80656e2a
- 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+checksum="2f38cd5fb1822798d10d806fe8930f60a5b3a7f92b9dfcbbeb210df8a8b37b86
+ c3de32a249b25f092218b7550ce00134998cf3fef8ebbb08801883ed48f36576"
 
 alternatives="lc0:lc0:/usr/bin/lc0-opencl"
 

From f24e2a5c3f0a41b7d3c69cc7d6c005ce519df1ea Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 23 Feb 2021 08:48:19 +0100
Subject: [PATCH 4/4] New package: lc0-openblas-0.27.0

---
 srcpkgs/lc0-openblas/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/lc0-openblas/template b/srcpkgs/lc0-openblas/template
index 6e01cbaf720..1d3b0af0c5d 100644
--- a/srcpkgs/lc0-openblas/template
+++ b/srcpkgs/lc0-openblas/template
@@ -1,12 +1,12 @@
 # Template file for 'lc0-openblas'
 pkgname=lc0-openblas
-version=0.26.3
+version=0.27.0
 revision=1
 wrksrc="lc0-${version}"
 build_style=meson
 configure_args="-Dgtest=false --buildtype=release"
 meson_builddir="build/release"
-_githash=c6df65828f3a31919f3f0ad83ff32ed269292b1f
+_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"
@@ -15,8 +15,8 @@ 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="364e9836157d6001b2f9a26f395af0b8ed6c16c295014cec782f3dbe80656e2a
- 7ef8e683b8adff873adb84150a58c787afebb83d76af56a8983b759ea7691cfe"
+checksum="2f38cd5fb1822798d10d806fe8930f60a5b3a7f92b9dfcbbeb210df8a8b37b86
+ c3de32a249b25f092218b7550ce00134998cf3fef8ebbb08801883ed48f36576"
 
 alternatives="lc0:lc0:/usr/bin/lc0-openblas"
 

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (12 preceding siblings ...)
  2021-02-23  7:44 ` shtayerc
@ 2021-02-23  7:46 ` shtayerc
  2021-08-08 21:34 ` ericonr
                   ` (25 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-02-23  7:46 UTC (permalink / raw)
  To: ml

[-- 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
+}

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

* Re: New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (13 preceding siblings ...)
  2021-02-23  7:46 ` shtayerc
@ 2021-08-08 21:34 ` ericonr
  2021-08-10  9:44 ` [PR PATCH] [Updated] " shtayerc
                   ` (24 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-08 21:34 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#issuecomment-894858793

Comment:
Why not make the backend choice a build option? Defaulting to openblas seems reasonable too.

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

* Re: [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (14 preceding siblings ...)
  2021-08-08 21:34 ` ericonr
@ 2021-08-10  9:44 ` shtayerc
  2021-08-10 11:01 ` [PR PATCH] [Updated] New package: lc0 shtayerc
                   ` (23 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-08-10  9:44 UTC (permalink / raw)
  To: ml

[-- 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: 1831 bytes --]

From 86e0c5fca3a0296cc28e9409a95a6de69332a434 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 10 Aug 2021 11:44:06 +0200
Subject: [PATCH] New package: lc0-0.27.0

---
 srcpkgs/lc0/template | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/lc0/template

diff --git a/srcpkgs/lc0/template b/srcpkgs/lc0/template
new file mode 100644
index 000000000000..125dcfe71bf2
--- /dev/null
+++ b/srcpkgs/lc0/template
@@ -0,0 +1,40 @@
+# Template file for 'lc0'
+pkgname=lc0
+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="$(vopt_if openblas openblas-devel)
+ $(vopt_if opencl ocl-icd-devel) protobuf-devel zlib-devel eigen"
+short_desc="UCI chess engine designed to play via neural network"
+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"
+
+build_options="openblas opencl"
+build_options_default="openblas"
+
+if [ "$CROSS_BUILD" ] && [ "$build_option_openblas" ]; 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
+}

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

* Re: [PR PATCH] [Updated] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (15 preceding siblings ...)
  2021-08-10  9:44 ` [PR PATCH] [Updated] " shtayerc
@ 2021-08-10 11:01 ` shtayerc
  2021-08-10 17:18 ` shtayerc
                   ` (22 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-08-10 11:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 304 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 package: lc0


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: 1810 bytes --]

From fbaa9d42e38984e1ec8b0a76923761b91851b356 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 10 Aug 2021 11:44:06 +0200
Subject: [PATCH] New package: lc0-0.27.0

---
 srcpkgs/lc0/template | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 srcpkgs/lc0/template

diff --git a/srcpkgs/lc0/template b/srcpkgs/lc0/template
new file mode 100644
index 000000000000..a6cf7f91a6ac
--- /dev/null
+++ b/srcpkgs/lc0/template
@@ -0,0 +1,39 @@
+# Template file for 'lc0'
+pkgname=lc0
+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="$(vopt_if openblas openblas-devel)
+ $(vopt_if opencl ocl-icd-devel) protobuf-devel zlib-devel eigen"
+short_desc="UCI chess engine designed to play via neural network"
+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"
+
+build_options="openblas opencl"
+build_options_default="openblas"
+
+if [ "$CROSS_BUILD" ] && [ "$build_option_openblas" ]; then
+	configure_args+=" -Dopenblas_include=${XBPS_CROSS_BASE}/usr/include/openblas/"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_extract() {
+	cp -a ../lczero-common-${_githash}/proto/ ./libs/lczero-common/
+}
+
+do_install() {
+	vbin build/release/lc0 lc0
+}

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

* Re: New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (16 preceding siblings ...)
  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
                   ` (21 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-08-10 17:18 UTC (permalink / raw)
  To: ml

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

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#issuecomment-896168271

Comment:
Yea, build options are more reasonable.
@ericonr can you please review this again?

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

* Re: [PR REVIEW] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (17 preceding siblings ...)
  2021-08-10 17:18 ` shtayerc
@ 2021-08-10 17:24 ` ericonr
  2021-08-10 17:24 ` ericonr
                   ` (20 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-10 17:24 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#discussion_r686173661

Comment:
Assuming you can't have both backends at the same time, `vopt_conflict openblas opencl`

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

* Re: [PR REVIEW] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (22 preceding siblings ...)
  2021-08-10 17:24 ` ericonr
@ 2021-08-10 17:24 ` ericonr
  2021-08-10 18:06 ` [PR PATCH] [Updated] " shtayerc
                   ` (15 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-10 17:24 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#discussion_r686176167

Comment:
This is now the default `wrksrc`, and can be ommitted ;)

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

* Re: [PR REVIEW] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (20 preceding siblings ...)
  2021-08-10 17:24 ` ericonr
@ 2021-08-10 17:24 ` ericonr
  2021-08-10 17:24 ` ericonr
                   ` (17 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-10 17:24 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#discussion_r686175729

Comment:
Please use some form of `mv` so the directory isn't left after the build is done. something like `rmdir libs/lczero-common` then `mv ../lczero-common-${_githash} libs/lczero-common` should work.

Also, consider being specific: `_lczero_commit`

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

* Re: [PR REVIEW] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (18 preceding siblings ...)
  2021-08-10 17:24 ` [PR REVIEW] " ericonr
@ 2021-08-10 17:24 ` ericonr
  2021-08-10 17:24 ` ericonr
                   ` (19 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-10 17:24 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#discussion_r686175993

Comment:
Does it lack a install target?

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

* Re: [PR REVIEW] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (21 preceding siblings ...)
  2021-08-10 17:24 ` ericonr
@ 2021-08-10 17:24 ` ericonr
  2021-08-10 17:24 ` ericonr
                   ` (16 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-10 17:24 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#discussion_r686174138

Comment:
Why force release?

What's special about `build/release`?

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

* Re: [PR REVIEW] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (19 preceding siblings ...)
  2021-08-10 17:24 ` ericonr
@ 2021-08-10 17:24 ` ericonr
  2021-08-10 17:24 ` ericonr
                   ` (18 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-10 17:24 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#discussion_r686174504

Comment:
Style nit: it's cleaner to have the build options after the normal deps.

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

* Re: [PR PATCH] [Updated] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (23 preceding siblings ...)
  2021-08-10 17:24 ` ericonr
@ 2021-08-10 18:06 ` shtayerc
  2021-08-10 18:11 ` [PR REVIEW] " shtayerc
                   ` (14 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-08-10 18:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 304 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 package: lc0


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: 1742 bytes --]

From 2b8b106f1f887a5592673da2f7b8eb642631b3ba Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 10 Aug 2021 11:44:06 +0200
Subject: [PATCH] New package: lc0-0.27.0

---
 srcpkgs/lc0/template | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 srcpkgs/lc0/template

diff --git a/srcpkgs/lc0/template b/srcpkgs/lc0/template
new file mode 100644
index 000000000000..971c3ce401e6
--- /dev/null
+++ b/srcpkgs/lc0/template
@@ -0,0 +1,35 @@
+# Template file for 'lc0'
+pkgname=lc0
+version=0.27.0
+revision=1
+build_style=meson
+configure_args="-Dgtest=false"
+_lczero_commit=00fd892e648160c294346c87449126d9bad80a16
+hostmakedepends="tar pkg-config"
+makedepends="protobuf-devel zlib-devel eigen $(vopt_if openblas openblas-devel)
+ $(vopt_if opencl ocl-icd-devel)"
+short_desc="UCI chess engine designed to play via neural network"
+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/${_lczero_commit}.tar.gz"
+checksum="2f38cd5fb1822798d10d806fe8930f60a5b3a7f92b9dfcbbeb210df8a8b37b86
+ c3de32a249b25f092218b7550ce00134998cf3fef8ebbb08801883ed48f36576"
+
+build_options="openblas opencl"
+build_options_default="openblas"
+vopt_conflict openblas opencl
+
+if [ "$CROSS_BUILD" ] && [ "$build_option_openblas" ]; then
+	configure_args+=" -Dopenblas_include=${XBPS_CROSS_BASE}/usr/include/openblas/"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_extract() {
+	rmdir libs/lczero-common
+	mv ../lczero-common-${_lczero_commit} libs/lczero-common
+}

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

* Re: [PR REVIEW] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (24 preceding siblings ...)
  2021-08-10 18:06 ` [PR PATCH] [Updated] " shtayerc
@ 2021-08-10 18:11 ` shtayerc
  2021-08-10 18:18 ` ericonr
                   ` (13 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-08-10 18:11 UTC (permalink / raw)
  To: ml

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

New review comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#discussion_r686210325

Comment:
I guess nothing, it works fine without specifying it.

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

* Re: [PR REVIEW] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (25 preceding siblings ...)
  2021-08-10 18:11 ` [PR REVIEW] " shtayerc
@ 2021-08-10 18:18 ` ericonr
  2021-08-10 19:33 ` [PR PATCH] [Updated] " shtayerc
                   ` (12 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-10 18:18 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#discussion_r686215139

Comment:
Last nit, does it actually need `tar` here? It shouldn't be using any subproject, after all.

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

* Re: [PR PATCH] [Updated] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (26 preceding siblings ...)
  2021-08-10 18:18 ` ericonr
@ 2021-08-10 19:33 ` shtayerc
  2021-08-10 19:37 ` [PR REVIEW] " shtayerc
                   ` (11 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-08-10 19:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 304 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 package: lc0


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: 1738 bytes --]

From 348e2393e354958c9607f97fe1711d03bb3406d8 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 10 Aug 2021 11:44:06 +0200
Subject: [PATCH] New package: lc0-0.27.0

---
 srcpkgs/lc0/template | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 srcpkgs/lc0/template

diff --git a/srcpkgs/lc0/template b/srcpkgs/lc0/template
new file mode 100644
index 000000000000..352eaaa4334e
--- /dev/null
+++ b/srcpkgs/lc0/template
@@ -0,0 +1,35 @@
+# Template file for 'lc0'
+pkgname=lc0
+version=0.27.0
+revision=1
+build_style=meson
+configure_args="-Dgtest=false"
+_lczero_commit=00fd892e648160c294346c87449126d9bad80a16
+hostmakedepends="pkg-config"
+makedepends="protobuf-devel zlib-devel eigen $(vopt_if openblas openblas-devel)
+ $(vopt_if opencl ocl-icd-devel)"
+short_desc="UCI chess engine designed to play via neural network"
+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/${_lczero_commit}.tar.gz"
+checksum="2f38cd5fb1822798d10d806fe8930f60a5b3a7f92b9dfcbbeb210df8a8b37b86
+ c3de32a249b25f092218b7550ce00134998cf3fef8ebbb08801883ed48f36576"
+
+build_options="openblas opencl"
+build_options_default="openblas"
+vopt_conflict openblas opencl
+
+if [ "$CROSS_BUILD" ] && [ "$build_option_openblas" ]; then
+	configure_args+=" -Dopenblas_include=${XBPS_CROSS_BASE}/usr/include/openblas/"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_extract() {
+	rmdir libs/lczero-common
+	mv ../lczero-common-${_lczero_commit} libs/lczero-common
+}

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

* Re: [PR REVIEW] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (27 preceding siblings ...)
  2021-08-10 19:33 ` [PR PATCH] [Updated] " shtayerc
@ 2021-08-10 19:37 ` shtayerc
  2021-08-10 19:56 ` ericonr
                   ` (10 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-08-10 19:37 UTC (permalink / raw)
  To: ml

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

New review comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#discussion_r686267134

Comment:
Done

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

* Re: New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (28 preceding siblings ...)
  2021-08-10 19:37 ` [PR REVIEW] " shtayerc
@ 2021-08-10 19:56 ` ericonr
  2021-08-10 20:00 ` ericonr
                   ` (9 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-10 19:56 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#issuecomment-896276923

Comment:
So, what GUI are you using this with? I just tried using with `cutechess` and it just hangs...

https://lczero.org/play/quickstart/ mentions a neural network file, aren't we missing that?

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

* Re: New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (29 preceding siblings ...)
  2021-08-10 19:56 ` ericonr
@ 2021-08-10 20:00 ` ericonr
  2021-08-10 20:04 ` ericonr
                   ` (8 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-10 20:00 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#issuecomment-896279984

Comment:
```
open("/home/ericonr/.local/share/lc0", O_RDONLY|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/home/ericonr/.local/share/lc0/networks", O_RDONLY|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/lc0", O_RDONLY|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/lc0/networks", O_RDONLY|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/usr/share/lc0", O_RDONLY|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/usr/share/lc0/networks", O_RDONLY|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
```

Could we install a default network in `/usr/share/lc0/networks`? Is it easy to download one as a distfile?

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

* Re: New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (30 preceding siblings ...)
  2021-08-10 20:00 ` ericonr
@ 2021-08-10 20:04 ` ericonr
  2021-08-10 20:08 ` ericonr
                   ` (7 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-10 20:04 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#issuecomment-896282653

Comment:
Maybe https://training.lczero.org/get_network?sha=b30e742bcfd905815e0e7dbd4e1bafb41ade748f85d006b8e28758f1a3107ae3
for 703810.pb.gz

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

* Re: New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (31 preceding siblings ...)
  2021-08-10 20:04 ` ericonr
@ 2021-08-10 20:08 ` ericonr
  2021-08-11  6:21 ` shtayerc
                   ` (6 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-08-10 20:08 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#issuecomment-896284903

Comment:
Or should users be expected to know how to install things?

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

* Re: New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (32 preceding siblings ...)
  2021-08-10 20:08 ` ericonr
@ 2021-08-11  6:21 ` shtayerc
  2021-08-28  5:57 ` [PR PATCH] [Updated] " shtayerc
                   ` (5 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-08-11  6:21 UTC (permalink / raw)
  To: ml

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

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#issuecomment-896535119

Comment:
I am using lc0 with my own gui https://github.com/shtayerc/cboard, I do not know how to configure it for qutechess. But you can test it without gui, but you need weights file. You can find it here https://github.com/LeelaChessZero/lc0/wiki/Best-Nets-for-Lc0 . I think users should decide for themself, because nets are meant for different things and there isn't one good for all.
Then you run lc0 from command line like that `lc0 --weights=/path/to/file`
And after you type `go infinite` it should be calculating.

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

* Re: [PR PATCH] [Updated] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (33 preceding siblings ...)
  2021-08-11  6:21 ` shtayerc
@ 2021-08-28  5:57 ` shtayerc
  2021-08-28 20:06 ` shtayerc
                   ` (4 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-08-28  5:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 304 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 package: lc0


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: 1738 bytes --]

From c390d8918b86d7abf4796b8631ca8c020a9c2057 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 10 Aug 2021 11:44:06 +0200
Subject: [PATCH] New package: lc0-0.28.0

---
 srcpkgs/lc0/template | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 srcpkgs/lc0/template

diff --git a/srcpkgs/lc0/template b/srcpkgs/lc0/template
new file mode 100644
index 000000000000..b682abd03e78
--- /dev/null
+++ b/srcpkgs/lc0/template
@@ -0,0 +1,35 @@
+# Template file for 'lc0'
+pkgname=lc0
+version=0.28.0
+revision=1
+build_style=meson
+configure_args="-Dgtest=false"
+_lczero_commit=5680c5fad9f3b52288d67f738b272fd09de5ee0b
+hostmakedepends="pkg-config"
+makedepends="protobuf-devel zlib-devel eigen $(vopt_if openblas openblas-devel)
+ $(vopt_if opencl ocl-icd-devel)"
+short_desc="UCI chess engine designed to play via neural network"
+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/${_lczero_commit}.tar.gz"
+checksum="81f857a4c2e45ac161d499957f9fe5060479242f527dacff548d52cd0c573caa
+ def7b572df6c3e8f5307afa8abb242d51c0e8d200b12dd56466fff11b9bc4cf8"
+
+build_options="openblas opencl"
+build_options_default="openblas"
+vopt_conflict openblas opencl
+
+if [ "$CROSS_BUILD" ] && [ "$build_option_openblas" ]; then
+	configure_args+=" -Dopenblas_include=${XBPS_CROSS_BASE}/usr/include/openblas/"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_extract() {
+	rmdir libs/lczero-common
+	mv ../lczero-common-${_lczero_commit} libs/lczero-common
+}

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

* Re: [PR PATCH] [Updated] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (34 preceding siblings ...)
  2021-08-28  5:57 ` [PR PATCH] [Updated] " shtayerc
@ 2021-08-28 20:06 ` shtayerc
  2021-11-14  8:15 ` [PR REVIEW] " ericonr
                   ` (3 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-08-28 20:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 304 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 package: lc0


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: 1738 bytes --]

From ea1b6c6733fbfeefd49e2e2e7dd72b8e720540b4 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 10 Aug 2021 11:44:06 +0200
Subject: [PATCH] New package: lc0-0.28.0

---
 srcpkgs/lc0/template | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 srcpkgs/lc0/template

diff --git a/srcpkgs/lc0/template b/srcpkgs/lc0/template
new file mode 100644
index 000000000000..b682abd03e78
--- /dev/null
+++ b/srcpkgs/lc0/template
@@ -0,0 +1,35 @@
+# Template file for 'lc0'
+pkgname=lc0
+version=0.28.0
+revision=1
+build_style=meson
+configure_args="-Dgtest=false"
+_lczero_commit=5680c5fad9f3b52288d67f738b272fd09de5ee0b
+hostmakedepends="pkg-config"
+makedepends="protobuf-devel zlib-devel eigen $(vopt_if openblas openblas-devel)
+ $(vopt_if opencl ocl-icd-devel)"
+short_desc="UCI chess engine designed to play via neural network"
+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/${_lczero_commit}.tar.gz"
+checksum="81f857a4c2e45ac161d499957f9fe5060479242f527dacff548d52cd0c573caa
+ def7b572df6c3e8f5307afa8abb242d51c0e8d200b12dd56466fff11b9bc4cf8"
+
+build_options="openblas opencl"
+build_options_default="openblas"
+vopt_conflict openblas opencl
+
+if [ "$CROSS_BUILD" ] && [ "$build_option_openblas" ]; then
+	configure_args+=" -Dopenblas_include=${XBPS_CROSS_BASE}/usr/include/openblas/"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_extract() {
+	rmdir libs/lczero-common
+	mv ../lczero-common-${_lczero_commit} libs/lczero-common
+}

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

* Re: [PR REVIEW] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (35 preceding siblings ...)
  2021-08-28 20:06 ` shtayerc
@ 2021-11-14  8:15 ` ericonr
  2021-11-14  9:01 ` [PR PATCH] [Updated] " shtayerc
                   ` (2 subsequent siblings)
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-11-14  8:15 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#discussion_r748818506

Comment:
Use https


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

* Re: [PR PATCH] [Updated] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (36 preceding siblings ...)
  2021-11-14  8:15 ` [PR REVIEW] " ericonr
@ 2021-11-14  9:01 ` shtayerc
  2021-11-18 17:48 ` [PR REVIEW] " shtayerc
  2021-11-19  1:53 ` [PR PATCH] [Merged]: " ericonr
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-11-14  9:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 304 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 package: lc0


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: 1739 bytes --]

From ed1a6e5e476b3ef463a167a7899e267df3908505 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Tue, 10 Aug 2021 11:44:06 +0200
Subject: [PATCH] New package: lc0-0.28.0

---
 srcpkgs/lc0/template | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 srcpkgs/lc0/template

diff --git a/srcpkgs/lc0/template b/srcpkgs/lc0/template
new file mode 100644
index 000000000000..ba2e8dd8bb74
--- /dev/null
+++ b/srcpkgs/lc0/template
@@ -0,0 +1,35 @@
+# Template file for 'lc0'
+pkgname=lc0
+version=0.28.0
+revision=1
+build_style=meson
+configure_args="-Dgtest=false"
+_lczero_commit=5680c5fad9f3b52288d67f738b272fd09de5ee0b
+hostmakedepends="pkg-config"
+makedepends="protobuf-devel zlib-devel eigen $(vopt_if openblas openblas-devel)
+ $(vopt_if opencl ocl-icd-devel)"
+short_desc="UCI chess engine designed to play via neural network"
+maintainer="shtayerc <david.murko@mailbox.org>"
+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="81f857a4c2e45ac161d499957f9fe5060479242f527dacff548d52cd0c573caa
+ def7b572df6c3e8f5307afa8abb242d51c0e8d200b12dd56466fff11b9bc4cf8"
+
+build_options="openblas opencl"
+build_options_default="openblas"
+vopt_conflict openblas opencl
+
+if [ "$CROSS_BUILD" ] && [ "$build_option_openblas" ]; then
+	configure_args+=" -Dopenblas_include=${XBPS_CROSS_BASE}/usr/include/openblas/"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_extract() {
+	rmdir libs/lczero-common
+	mv ../lczero-common-${_lczero_commit} libs/lczero-common
+}

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

* Re: [PR REVIEW] New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (37 preceding siblings ...)
  2021-11-14  9:01 ` [PR PATCH] [Updated] " shtayerc
@ 2021-11-18 17:48 ` shtayerc
  2021-11-19  1:53 ` [PR PATCH] [Merged]: " ericonr
  39 siblings, 0 replies; 40+ messages in thread
From: shtayerc @ 2021-11-18 17:48 UTC (permalink / raw)
  To: ml

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

New review comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/20392#discussion_r752484934

Comment:
@ericonr done

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

* Re: [PR PATCH] [Merged]: New package: lc0
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
                   ` (38 preceding siblings ...)
  2021-11-18 17:48 ` [PR REVIEW] " shtayerc
@ 2021-11-19  1:53 ` ericonr
  39 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-11-19  1:53 UTC (permalink / raw)
  To: ml

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

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

New package: lc0
https://github.com/void-linux/void-packages/pull/20392

Description:


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

end of thread, other threads:[~2021-11-19  1:53 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20392@inbox.vuxu.org>
2020-03-30 17:49 ` [PR PATCH] [Updated] New packages: lc0-openblas, lc0-opencl 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
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

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).