Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: KataGo-1.14.1
@ 2024-04-09 16:42 jason1987d
  2024-04-09 16:51 ` jason1987d
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jason1987d @ 2024-04-09 16:42 UTC (permalink / raw)
  To: ml

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

There is a new pull request by jason1987d against master on the void-packages repository

https://github.com/jason1987d/void-packages KataGo
https://github.com/void-linux/void-packages/pull/49768

New package: KataGo-1.14.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc


A patch file from https://github.com/void-linux/void-packages/pull/49768.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-KataGo-49768.patch --]
[-- Type: text/x-diff, Size: 2877 bytes --]

From c8d056d0cead14fe7af5e497743750b36302a9e1 Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Sat, 19 Nov 2022 12:27:38 -0600
Subject: [PATCH] New package: KataGo-1.14.1

---
 srcpkgs/KataGo-OpenCL/template | 34 +++++++++++++++++++++++++++++++++
 srcpkgs/KataGo-eigen/template  | 35 ++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
 create mode 100644 srcpkgs/KataGo-OpenCL/template
 create mode 100644 srcpkgs/KataGo-eigen/template

diff --git a/srcpkgs/KataGo-OpenCL/template b/srcpkgs/KataGo-OpenCL/template
new file mode 100644
index 00000000000000..3309ded741a185
--- /dev/null
+++ b/srcpkgs/KataGo-OpenCL/template
@@ -0,0 +1,34 @@
+# Template file for 'KataGo-OpenCL'
+pkgname=KataGo-OpenCL
+version=1.14.1
+revision=1
+build_wrksrc=cpp
+build_style=cmake
+configure_args="-DUSE_BACKEND=OPENCL -DNO_GIT_REVISION=1"
+makedepends="ocl-icd-devel zlib-devel libzip-devel"
+short_desc="KataGo Go/Weiqi/Baduk analysis engine (OpenCL backend)"
+maintainer="Jason Elswick <jason@jasondavid.tv>"
+license="MIT"
+homepage="https://github.com/lightvector/KataGo/"
+distfiles="https://github.com/lightvector/KataGo/archive/refs/tags/v${version}.tar.gz"
+checksum=1a80d7fbd2b3a2684049afe61407d2276f6faf1dd1ca3f886cdb07c170c08e65
+
+alternatives="katago:katago:/usr/bin/katago-opencl"
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) broken="size_t assert fails" ;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
+	makedepends+=" libatomic-devel"
+fi
+
+do_check() {
+	build/katago runtests
+}
+
+do_install() {
+	vbin build/katago katago-opencl
+	vlicense "${wrksrc}"/LICENSE
+}
diff --git a/srcpkgs/KataGo-eigen/template b/srcpkgs/KataGo-eigen/template
new file mode 100644
index 00000000000000..c4298c9c49b2cd
--- /dev/null
+++ b/srcpkgs/KataGo-eigen/template
@@ -0,0 +1,35 @@
+# Template file for 'KataGo-eigen'
+pkgname=KataGo-eigen
+version=1.14.1
+revision=1
+build_wrksrc=cpp
+build_style=cmake
+configure_args="-DUSE_BACKEND=EIGEN -DNO_GIT_REVISION=1"
+make_check_target="check"
+makedepends="zlib-devel libzip-devel eigen"
+short_desc="KataGo Go/Weiqi/Baduk analysis engine (eigen backend)"
+maintainer="Jason Elswick <jason@jasondavid.tv>"
+license="MIT"
+homepage="https://github.com/lightvector/KataGo/"
+distfiles="https://github.com/lightvector/KataGo/archive/refs/tags/v${version}.tar.gz"
+checksum=1a80d7fbd2b3a2684049afe61407d2276f6faf1dd1ca3f886cdb07c170c08e65
+
+alternatives="katago:katago:/usr/bin/katago-eigen"
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) broken="size_t assert fails" ;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
+	makedepends+=" libatomic-devel"
+fi
+
+do_check() {
+	build/katago runtests
+}
+
+do_install() {
+	vbin build/katago katago-eigen
+	vlicense "${wrksrc}"/LICENSE
+}

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

* Re: New package: KataGo-1.14.1
  2024-04-09 16:42 [PR PATCH] New package: KataGo-1.14.1 jason1987d
@ 2024-04-09 16:51 ` jason1987d
  2024-04-20 22:35 ` [PR PATCH] [Updated] " jason1987d
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jason1987d @ 2024-04-09 16:51 UTC (permalink / raw)
  To: ml

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

New comment by jason1987d on void-packages repository

https://github.com/void-linux/void-packages/pull/49768#issuecomment-2045652261

Comment:
Should the archs= line simply exclude armv6l-musl here?

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

* Re: [PR PATCH] [Updated] New package: KataGo-1.14.1
  2024-04-09 16:42 [PR PATCH] New package: KataGo-1.14.1 jason1987d
  2024-04-09 16:51 ` jason1987d
@ 2024-04-20 22:35 ` jason1987d
  2024-04-20 22:47 ` jason1987d
  2024-04-20 22:48 ` jason1987d
  3 siblings, 0 replies; 5+ messages in thread
From: jason1987d @ 2024-04-20 22:35 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by jason1987d against master on the void-packages repository

https://github.com/jason1987d/void-packages KataGo
https://github.com/void-linux/void-packages/pull/49768

New package: KataGo-1.14.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc


A patch file from https://github.com/void-linux/void-packages/pull/49768.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-KataGo-49768.patch --]
[-- Type: text/x-diff, Size: 2439 bytes --]

From 39d62695dfa5e3c0fbeeeec4488be135f38d5eb4 Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Sat, 19 Nov 2022 12:27:38 -0600
Subject: [PATCH] New package: KataGo-1.14.1

---
 srcpkgs/KataGo-OpenCL/template | 25 +++++++++++++++++++++++++
 srcpkgs/KataGo-eigen/template  | 25 +++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 srcpkgs/KataGo-OpenCL/template
 create mode 100644 srcpkgs/KataGo-eigen/template

diff --git a/srcpkgs/KataGo-OpenCL/template b/srcpkgs/KataGo-OpenCL/template
new file mode 100644
index 00000000000000..b79f6d04ea1ef4
--- /dev/null
+++ b/srcpkgs/KataGo-OpenCL/template
@@ -0,0 +1,25 @@
+# Template file for 'KataGo-OpenCL'
+pkgname=KataGo-OpenCL
+version=1.14.1
+revision=1
+build_wrksrc=cpp
+build_style=cmake
+configure_args="-DUSE_BACKEND=OPENCL -DNO_GIT_REVISION=1"
+make_check_target="check"
+makedepends="ocl-icd-devel zlib-devel libzip-devel"
+short_desc="KataGo Go/Weiqi/Baduk analysis engine (OpenCL backend)"
+maintainer="Jason Elswick <jason@jasondavid.tv>"
+license="MIT"
+homepage="https://github.com/lightvector/KataGo/"
+distfiles="https://github.com/lightvector/KataGo/archive/refs/tags/v${version}.tar.gz"
+checksum=1a80d7fbd2b3a2684049afe61407d2276f6faf1dd1ca3f886cdb07c170c08e65
+alternatives="katago:katago:/usr/bin/katago-opencl"
+
+do_check() {
+	build/katago runtests
+}
+
+do_install() {
+	vbin build/katago katago-opencl
+	vlicense "${wrksrc}"/LICENSE
+}
diff --git a/srcpkgs/KataGo-eigen/template b/srcpkgs/KataGo-eigen/template
new file mode 100644
index 00000000000000..52f891df4fb365
--- /dev/null
+++ b/srcpkgs/KataGo-eigen/template
@@ -0,0 +1,25 @@
+# Template file for 'KataGo-eigen'
+pkgname=KataGo-eigen
+version=1.14.1
+revision=1
+build_wrksrc=cpp
+build_style=cmake
+configure_args="-DUSE_BACKEND=EIGEN -DNO_GIT_REVISION=1"
+make_check_target="check"
+makedepends="zlib-devel libzip-devel eigen"
+short_desc="KataGo Go/Weiqi/Baduk analysis engine (eigen backend)"
+maintainer="Jason Elswick <jason@jasondavid.tv>"
+license="MIT"
+homepage="https://github.com/lightvector/KataGo/"
+distfiles="https://github.com/lightvector/KataGo/archive/refs/tags/v${version}.tar.gz"
+checksum=1a80d7fbd2b3a2684049afe61407d2276f6faf1dd1ca3f886cdb07c170c08e65
+alternatives="katago:katago:/usr/bin/katago-eigen"
+
+do_check() {
+	build/katago runtests
+}
+
+do_install() {
+	vbin build/katago katago-eigen
+	vlicense "${wrksrc}"/LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: KataGo-1.14.1
  2024-04-09 16:42 [PR PATCH] New package: KataGo-1.14.1 jason1987d
  2024-04-09 16:51 ` jason1987d
  2024-04-20 22:35 ` [PR PATCH] [Updated] " jason1987d
@ 2024-04-20 22:47 ` jason1987d
  2024-04-20 22:48 ` jason1987d
  3 siblings, 0 replies; 5+ messages in thread
From: jason1987d @ 2024-04-20 22:47 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by jason1987d against master on the void-packages repository

https://github.com/jason1987d/void-packages KataGo
https://github.com/void-linux/void-packages/pull/49768

New package: KataGo-1.14.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for the following architectures:
    - aarch64-glibc
    - armv7l-glibc
    - armv6l-musl
    - i686-glibc


A patch file from https://github.com/void-linux/void-packages/pull/49768.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-KataGo-49768.patch --]
[-- Type: text/x-diff, Size: 2609 bytes --]

From ad0df7574d1468412a1e762f821534264588ec46 Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Sat, 19 Nov 2022 12:27:38 -0600
Subject: [PATCH] New package: KataGo-1.14.1

---
 srcpkgs/KataGo-OpenCL/template | 29 +++++++++++++++++++++++++++++
 srcpkgs/KataGo-eigen/template  | 29 +++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/KataGo-OpenCL/template
 create mode 100644 srcpkgs/KataGo-eigen/template

diff --git a/srcpkgs/KataGo-OpenCL/template b/srcpkgs/KataGo-OpenCL/template
new file mode 100644
index 00000000000000..e7d07eddb08bba
--- /dev/null
+++ b/srcpkgs/KataGo-OpenCL/template
@@ -0,0 +1,29 @@
+# Template file for 'KataGo-OpenCL'
+pkgname=KataGo-OpenCL
+version=1.14.1
+revision=1
+build_wrksrc=cpp
+build_style=cmake
+configure_args="-DUSE_BACKEND=OPENCL -DNO_GIT_REVISION=1"
+make_check_target="check"
+makedepends="ocl-icd-devel zlib-devel libzip-devel"
+short_desc="KataGo Go/Weiqi/Baduk analysis engine (OpenCL backend)"
+maintainer="Jason Elswick <jason@jasondavid.tv>"
+license="MIT"
+homepage="https://github.com/lightvector/KataGo/"
+distfiles="https://github.com/lightvector/KataGo/archive/refs/tags/v${version}.tar.gz"
+checksum=1a80d7fbd2b3a2684049afe61407d2276f6faf1dd1ca3f886cdb07c170c08e65
+alternatives="katago:katago:/usr/bin/katago-opencl"
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) broken="size_t assert fails" ;;
+esac
+
+do_check() {
+	build/katago runtests
+}
+
+do_install() {
+	vbin build/katago katago-opencl
+	vlicense "${wrksrc}"/LICENSE
+}
diff --git a/srcpkgs/KataGo-eigen/template b/srcpkgs/KataGo-eigen/template
new file mode 100644
index 00000000000000..25256879af2aab
--- /dev/null
+++ b/srcpkgs/KataGo-eigen/template
@@ -0,0 +1,29 @@
+# Template file for 'KataGo-eigen'
+pkgname=KataGo-eigen
+version=1.14.1
+revision=1
+build_wrksrc=cpp
+build_style=cmake
+configure_args="-DUSE_BACKEND=EIGEN -DNO_GIT_REVISION=1"
+make_check_target="check"
+makedepends="zlib-devel libzip-devel eigen"
+short_desc="KataGo Go/Weiqi/Baduk analysis engine (eigen backend)"
+maintainer="Jason Elswick <jason@jasondavid.tv>"
+license="MIT"
+homepage="https://github.com/lightvector/KataGo/"
+distfiles="https://github.com/lightvector/KataGo/archive/refs/tags/v${version}.tar.gz"
+checksum=1a80d7fbd2b3a2684049afe61407d2276f6faf1dd1ca3f886cdb07c170c08e65
+alternatives="katago:katago:/usr/bin/katago-eigen"
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) broken="size_t assert fails" ;;
+esac
+
+do_check() {
+	build/katago runtests
+}
+
+do_install() {
+	vbin build/katago katago-eigen
+	vlicense "${wrksrc}"/LICENSE
+}

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

* Re: New package: KataGo-1.14.1
  2024-04-09 16:42 [PR PATCH] New package: KataGo-1.14.1 jason1987d
                   ` (2 preceding siblings ...)
  2024-04-20 22:47 ` jason1987d
@ 2024-04-20 22:48 ` jason1987d
  3 siblings, 0 replies; 5+ messages in thread
From: jason1987d @ 2024-04-20 22:48 UTC (permalink / raw)
  To: ml

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

New comment by jason1987d on void-packages repository

https://github.com/void-linux/void-packages/pull/49768#issuecomment-2045652261

Comment:
Should the archs= line simply exclude armv6l-musl here?

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

end of thread, other threads:[~2024-04-20 22:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-09 16:42 [PR PATCH] New package: KataGo-1.14.1 jason1987d
2024-04-09 16:51 ` jason1987d
2024-04-20 22:35 ` [PR PATCH] [Updated] " jason1987d
2024-04-20 22:47 ` jason1987d
2024-04-20 22:48 ` jason1987d

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