Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: KataGo-1.14.0
@ 2023-12-31  4:28 jason1987d
  2024-01-18 16:01 ` [PR PATCH] [Closed]: " jason1987d
  0 siblings, 1 reply; 2+ messages in thread
From: jason1987d @ 2023-12-31  4:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 693 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/48003

New package: KataGo-1.14.0
#### Testing the changes
- I tested the changes in this PR: **YES** (for KataGo-eigen at least)

#### 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-libc)


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

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

From 4b5e5fd068899a4ebca5e15150ca48dedcbdb255 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.0

---
 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 0000000000000..755a53fe0df5c
--- /dev/null
+++ b/srcpkgs/KataGo-OpenCL/template
@@ -0,0 +1,34 @@
+# Template file for 'KataGo-OpenCL'
+pkgname=KataGo-OpenCL
+version=1.14.0
+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=d0cb8dbd89aa8c49d5477a2d7dede1981812b709dd49bfd089e1db56200c9ede
+
+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 0000000000000..25c1accf8f827
--- /dev/null
+++ b/srcpkgs/KataGo-eigen/template
@@ -0,0 +1,35 @@
+# Template file for 'KataGo-eigen'
+pkgname=KataGo-eigen
+version=1.14.0
+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=d0cb8dbd89aa8c49d5477a2d7dede1981812b709dd49bfd089e1db56200c9ede
+
+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] 2+ messages in thread

* Re: [PR PATCH] [Closed]: New package: KataGo-1.14.0
  2023-12-31  4:28 [PR PATCH] New package: KataGo-1.14.0 jason1987d
@ 2024-01-18 16:01 ` jason1987d
  0 siblings, 0 replies; 2+ messages in thread
From: jason1987d @ 2024-01-18 16:01 UTC (permalink / raw)
  To: ml

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

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

New package: KataGo-1.14.0
https://github.com/void-linux/void-packages/pull/48003

Description:
#### Testing the changes
- I tested the changes in this PR: **YES** (for KataGo-eigen at least)

#### 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-libc)


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

end of thread, other threads:[~2024-01-18 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-31  4:28 [PR PATCH] New package: KataGo-1.14.0 jason1987d
2024-01-18 16:01 ` [PR PATCH] [Closed]: " 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).