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
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 14+ 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] 14+ 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
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 14+ 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] 14+ 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
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 14+ 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] 14+ 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
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 14+ 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] 14+ 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
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 14+ 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] 14+ 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
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 14+ 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] 14+ 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
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 14+ 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] 14+ 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
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 14+ 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] 14+ 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
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 14+ 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] 14+ 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
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 14+ 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] 14+ 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
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 14+ 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] 14+ 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
  2021-02-23  7:46 ` shtayerc
  13 siblings, 0 replies; 14+ 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] 14+ 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
  13 siblings, 0 replies; 14+ 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] 14+ 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
  13 siblings, 0 replies; 14+ 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] 14+ messages in thread

end of thread, other threads:[~2021-02-23  7:46 UTC | newest]

Thread overview: 14+ 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

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git