* [PR PATCH] randomx: add package v1.1.8 and librandomx
@ 2020-11-05 10:39 kevcrumb
2020-11-25 14:09 ` [PR PATCH] [Updated] " kevcrumb
` (20 more replies)
0 siblings, 21 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-05 10:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 487 bytes --]
There is a new pull request by kevcrumb against master on the void-packages repository
https://github.com/kevcrumb/void-packages randomx
https://github.com/void-linux/void-packages/pull/26148
randomx: add package v1.1.8 and librandomx
*randomx* contains binaries for benchmarking a machine for RandomX algo
*librandomx* provides library for using the algo (for example from a mining software)
A patch file from https://github.com/void-linux/void-packages/pull/26148.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-randomx-26148.patch --]
[-- Type: text/x-diff, Size: 3263 bytes --]
From 0dda9e87933e991662557b9ad05c545b2608606d Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Thu, 5 Nov 2020 10:35:54 +0000
Subject: [PATCH] randomx: add package v1.1.8 and librandomx
---
srcpkgs/librandomx/template | 33 +++++++++++++++++++++++++++++++++
srcpkgs/randomx/template | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
create mode 100644 srcpkgs/librandomx/template
create mode 100644 srcpkgs/randomx/template
diff --git a/srcpkgs/librandomx/template b/srcpkgs/librandomx/template
new file mode 100644
index 00000000000..7112e8846ae
--- /dev/null
+++ b/srcpkgs/librandomx/template
@@ -0,0 +1,33 @@
+# Template file for 'librandomx'
+pkgname=librandomx
+version=1.1.8
+revision=2
+short_desc="Proof of work algorithm based on random code execution - Libraries"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+build_style=cmake
+makedepends="cmake gcc"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+ ppc64*) configure_args+=" -DARCH=ppc64" ;;
+ ppc*) configure_args+=" -DARCH=ppc" ;;
+# *) configure_args+=" -DARCH=native" ;;
+esac
+
+post_extract() {
+ mv builddir/RandomX-${version} builddir/librandomx-${version}
+}
+
+post_install() {
+ vlicense LICENSE
+ vinstall build/librandomx.a 644 usr/lib/
+}
diff --git a/srcpkgs/randomx/template b/srcpkgs/randomx/template
new file mode 100644
index 00000000000..0ab1205f95b
--- /dev/null
+++ b/srcpkgs/randomx/template
@@ -0,0 +1,36 @@
+# Template file for 'randomx'
+pkgname=randomx
+version=1.1.8
+revision=2
+short_desc="Proof of work algorithm based on random code execution"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+build_style=cmake
+makedepends="cmake gcc"
+depends="librandomx"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+ ppc64*) configure_args+=" -DARCH=ppc64" ;;
+ ppc*) configure_args+=" -DARCH=ppc" ;;
+# *) configure_args+=" -DARCH=native" ;;
+esac
+
+post_extract() {
+ mv builddir/RandomX-${version} builddir/randomx-${version}
+}
+
+post_install() {
+ vlicense LICENSE
+ vbin build/randomx-benchmark
+ vbin build/randomx-codegen
+ vbin build/randomx-tests
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] randomx: add package v1.1.8 and librandomx
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
@ 2020-11-25 14:09 ` kevcrumb
2020-11-25 15:10 ` kevcrumb
` (19 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 14:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 492 bytes --]
There is an updated pull request by kevcrumb against master on the void-packages repository
https://github.com/kevcrumb/void-packages randomx
https://github.com/void-linux/void-packages/pull/26148
randomx: add package v1.1.8 and librandomx
*randomx* contains binaries for benchmarking a machine for RandomX algo
*librandomx* provides library for using the algo (for example from a mining software)
A patch file from https://github.com/void-linux/void-packages/pull/26148.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-randomx-26148.patch --]
[-- Type: text/x-diff, Size: 6466 bytes --]
From 0dda9e87933e991662557b9ad05c545b2608606d Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Thu, 5 Nov 2020 10:35:54 +0000
Subject: [PATCH 1/2] randomx: add package v1.1.8 and librandomx
---
srcpkgs/librandomx/template | 33 +++++++++++++++++++++++++++++++++
srcpkgs/randomx/template | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
create mode 100644 srcpkgs/librandomx/template
create mode 100644 srcpkgs/randomx/template
diff --git a/srcpkgs/librandomx/template b/srcpkgs/librandomx/template
new file mode 100644
index 00000000000..7112e8846ae
--- /dev/null
+++ b/srcpkgs/librandomx/template
@@ -0,0 +1,33 @@
+# Template file for 'librandomx'
+pkgname=librandomx
+version=1.1.8
+revision=2
+short_desc="Proof of work algorithm based on random code execution - Libraries"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+build_style=cmake
+makedepends="cmake gcc"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+ ppc64*) configure_args+=" -DARCH=ppc64" ;;
+ ppc*) configure_args+=" -DARCH=ppc" ;;
+# *) configure_args+=" -DARCH=native" ;;
+esac
+
+post_extract() {
+ mv builddir/RandomX-${version} builddir/librandomx-${version}
+}
+
+post_install() {
+ vlicense LICENSE
+ vinstall build/librandomx.a 644 usr/lib/
+}
diff --git a/srcpkgs/randomx/template b/srcpkgs/randomx/template
new file mode 100644
index 00000000000..0ab1205f95b
--- /dev/null
+++ b/srcpkgs/randomx/template
@@ -0,0 +1,36 @@
+# Template file for 'randomx'
+pkgname=randomx
+version=1.1.8
+revision=2
+short_desc="Proof of work algorithm based on random code execution"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+build_style=cmake
+makedepends="cmake gcc"
+depends="librandomx"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+ ppc64*) configure_args+=" -DARCH=ppc64" ;;
+ ppc*) configure_args+=" -DARCH=ppc" ;;
+# *) configure_args+=" -DARCH=native" ;;
+esac
+
+post_extract() {
+ mv builddir/RandomX-${version} builddir/randomx-${version}
+}
+
+post_install() {
+ vlicense LICENSE
+ vbin build/randomx-benchmark
+ vbin build/randomx-codegen
+ vbin build/randomx-tests
+}
From 301f87380b7bbb753553907f36394d1828d935ce Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Wed, 25 Nov 2020 12:46:27 +0000
Subject: [PATCH 2/2] randomx: convert librandomx to subpackage randomx-devel
---
srcpkgs/librandomx/template | 33 ---------------------------------
srcpkgs/randomx-devel | 1 +
srcpkgs/randomx/template | 16 ++++++++++++----
3 files changed, 13 insertions(+), 37 deletions(-)
delete mode 100644 srcpkgs/librandomx/template
create mode 120000 srcpkgs/randomx-devel
diff --git a/srcpkgs/librandomx/template b/srcpkgs/librandomx/template
deleted file mode 100644
index 7112e8846ae..00000000000
--- a/srcpkgs/librandomx/template
+++ /dev/null
@@ -1,33 +0,0 @@
-# Template file for 'librandomx'
-pkgname=librandomx
-version=1.1.8
-revision=2
-short_desc="Proof of work algorithm based on random code execution - Libraries"
-maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
-license="BSD-3-Clause"
-homepage="https://github.com/tevador/randomx"
-build_style=cmake
-makedepends="cmake gcc"
-distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
-checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
-
-case "$XBPS_TARGET_MACHINE" in
- armv7*) configure_args+=" -DARCH=armv7" ;;
- armv6*) configure_args+=" -DARCH=armv6" ;;
- armv5*) configure_args+=" -DARCH=armv5" ;;
- aarch64*) configure_args+=" -DARCH=aarch64" ;;
- mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
- ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
- ppc64*) configure_args+=" -DARCH=ppc64" ;;
- ppc*) configure_args+=" -DARCH=ppc" ;;
-# *) configure_args+=" -DARCH=native" ;;
-esac
-
-post_extract() {
- mv builddir/RandomX-${version} builddir/librandomx-${version}
-}
-
-post_install() {
- vlicense LICENSE
- vinstall build/librandomx.a 644 usr/lib/
-}
diff --git a/srcpkgs/randomx-devel b/srcpkgs/randomx-devel
new file mode 120000
index 00000000000..70052bb9346
--- /dev/null
+++ b/srcpkgs/randomx-devel
@@ -0,0 +1 @@
+randomx
\ No newline at end of file
diff --git a/srcpkgs/randomx/template b/srcpkgs/randomx/template
index 0ab1205f95b..0d6b4e4c40a 100644
--- a/srcpkgs/randomx/template
+++ b/srcpkgs/randomx/template
@@ -1,14 +1,12 @@
# Template file for 'randomx'
pkgname=randomx
version=1.1.8
-revision=2
+revision=4
short_desc="Proof of work algorithm based on random code execution"
maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/tevador/randomx"
build_style=cmake
-makedepends="cmake gcc"
-depends="librandomx"
distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
@@ -28,9 +26,19 @@ post_extract() {
mv builddir/RandomX-${version} builddir/randomx-${version}
}
-post_install() {
+do_install() {
vlicense LICENSE
vbin build/randomx-benchmark
vbin build/randomx-codegen
vbin build/randomx-tests
}
+
+
+randomx-devel_package() {
+ short_desc+=" - development files"
+
+ pkg_install() {
+ vlicense LICENSE
+ vinstall build/librandomx.a 644 usr/lib/
+ }
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] randomx: add package v1.1.8 and librandomx
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
2020-11-25 14:09 ` [PR PATCH] [Updated] " kevcrumb
@ 2020-11-25 15:10 ` kevcrumb
2020-11-25 15:21 ` kevcrumb
` (18 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 15:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 492 bytes --]
There is an updated pull request by kevcrumb against master on the void-packages repository
https://github.com/kevcrumb/void-packages randomx
https://github.com/void-linux/void-packages/pull/26148
randomx: add package v1.1.8 and librandomx
*randomx* contains binaries for benchmarking a machine for RandomX algo
*librandomx* provides library for using the algo (for example from a mining software)
A patch file from https://github.com/void-linux/void-packages/pull/26148.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-randomx-26148.patch --]
[-- Type: text/x-diff, Size: 1590 bytes --]
From f65bda79b7e2779a610b41c9af12ac2237ea4bc2 Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Thu, 5 Nov 2020 10:35:54 +0000
Subject: [PATCH] New package: randomx-1.1.8
---
srcpkgs/randomx/template | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 srcpkgs/randomx/template
diff --git a/srcpkgs/randomx/template b/srcpkgs/randomx/template
new file mode 100644
index 00000000000..ac532455b3b
--- /dev/null
+++ b/srcpkgs/randomx/template
@@ -0,0 +1,33 @@
+# Template file for 'randomx'
+pkgname=randomx
+version=1.1.8
+revision=1
+wrksrc="RandomX-${version}"
+build_style=cmake
+short_desc="Proof of work algorithm based on random code execution"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+ ppc64*) configure_args+=" -DARCH=ppc64" ;;
+ ppc*) configure_args+=" -DARCH=ppc" ;;
+# *) configure_args+=" -DARCH=native" ;;
+esac
+
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] randomx: add package v1.1.8 and librandomx
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
2020-11-25 14:09 ` [PR PATCH] [Updated] " kevcrumb
2020-11-25 15:10 ` kevcrumb
@ 2020-11-25 15:21 ` kevcrumb
2020-11-25 15:33 ` kevcrumb
` (17 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 15:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 492 bytes --]
There is an updated pull request by kevcrumb against master on the void-packages repository
https://github.com/kevcrumb/void-packages randomx
https://github.com/void-linux/void-packages/pull/26148
randomx: add package v1.1.8 and librandomx
*randomx* contains binaries for benchmarking a machine for RandomX algo
*librandomx* provides library for using the algo (for example from a mining software)
A patch file from https://github.com/void-linux/void-packages/pull/26148.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-randomx-26148.patch --]
[-- Type: text/x-diff, Size: 1614 bytes --]
From faf0c54428251bb62b7773ebaf81d74f2afa7059 Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Thu, 5 Nov 2020 10:35:54 +0000
Subject: [PATCH] New package: randomx-1.1.8
---
srcpkgs/randomx/template | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 srcpkgs/randomx/template
diff --git a/srcpkgs/randomx/template b/srcpkgs/randomx/template
new file mode 100644
index 00000000000..5167863e483
--- /dev/null
+++ b/srcpkgs/randomx/template
@@ -0,0 +1,34 @@
+# Template file for 'randomx'
+pkgname=randomx
+version=1.1.8
+revision=1
+wrksrc="RandomX-${version}"
+build_style=cmake
+short_desc="Proof of work algorithm based on random code execution"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ LDFLAGS+=" -latomic"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+ ppc64*) configure_args+=" -DARCH=ppc64" ;;
+ ppc*) configure_args+=" -DARCH=ppc" ;;
+# *) configure_args+=" -DARCH=native" ;;
+esac
+
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] randomx: add package v1.1.8 and librandomx
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (2 preceding siblings ...)
2020-11-25 15:21 ` kevcrumb
@ 2020-11-25 15:33 ` kevcrumb
2020-11-25 15:46 ` kevcrumb
` (16 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 15:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 492 bytes --]
There is an updated pull request by kevcrumb against master on the void-packages repository
https://github.com/kevcrumb/void-packages randomx
https://github.com/void-linux/void-packages/pull/26148
randomx: add package v1.1.8 and librandomx
*randomx* contains binaries for benchmarking a machine for RandomX algo
*librandomx* provides library for using the algo (for example from a mining software)
A patch file from https://github.com/void-linux/void-packages/pull/26148.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-randomx-26148.patch --]
[-- Type: text/x-diff, Size: 1630 bytes --]
From d5fa1df8ad383b0c5f81d2fa8bab6f6fb3e9caf9 Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Thu, 5 Nov 2020 10:35:54 +0000
Subject: [PATCH] New package: randomx-1.1.8
---
srcpkgs/randomx/template | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 srcpkgs/randomx/template
diff --git a/srcpkgs/randomx/template b/srcpkgs/randomx/template
new file mode 100644
index 00000000000..82dc3cb4f22
--- /dev/null
+++ b/srcpkgs/randomx/template
@@ -0,0 +1,33 @@
+# Template file for 'randomx'
+pkgname=randomx
+version=1.1.8
+revision=1
+wrksrc="RandomX-${version}"
+build_style=cmake
+short_desc="Proof of work algorithm based on random code execution"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6 -DCMAKE_CXX_STANDARD_LIBRATIES=-latomic" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+ ppc64*) configure_args+=" -DARCH=ppc64" ;;
+ ppc*) configure_args+=" -DARCH=ppc" ;;
+# *) configure_args+=" -DARCH=native" ;;
+esac
+
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] randomx: add package v1.1.8 and librandomx
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (3 preceding siblings ...)
2020-11-25 15:33 ` kevcrumb
@ 2020-11-25 15:46 ` kevcrumb
2020-11-25 15:47 ` kevcrumb
` (15 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 15:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 492 bytes --]
There is an updated pull request by kevcrumb against master on the void-packages repository
https://github.com/kevcrumb/void-packages randomx
https://github.com/void-linux/void-packages/pull/26148
randomx: add package v1.1.8 and librandomx
*randomx* contains binaries for benchmarking a machine for RandomX algo
*librandomx* provides library for using the algo (for example from a mining software)
A patch file from https://github.com/void-linux/void-packages/pull/26148.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-randomx-26148.patch --]
[-- Type: text/x-diff, Size: 1503 bytes --]
From f80f8d2e421c993ad8fcf8f8f977b7cb92578711 Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Thu, 5 Nov 2020 10:35:54 +0000
Subject: [PATCH] New package: randomx-1.1.8
---
srcpkgs/randomx/template | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 srcpkgs/randomx/template
diff --git a/srcpkgs/randomx/template b/srcpkgs/randomx/template
new file mode 100644
index 00000000000..b92d395833f
--- /dev/null
+++ b/srcpkgs/randomx/template
@@ -0,0 +1,28 @@
+# Template file for 'randomx'
+pkgname=randomx
+version=1.1.8
+revision=1
+wrksrc="RandomX-${version}"
+build_style=cmake
+short_desc="Proof of work algorithm based on random code execution"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+ ppc64*) configure_args+=" -DARCH=ppc64" ;;
+ ppc*) configure_args+=" -DARCH=ppc" ;;
+# *) configure_args+=" -DARCH=native" ;;
+esac
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: randomx: add package v1.1.8 and librandomx
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (4 preceding siblings ...)
2020-11-25 15:46 ` kevcrumb
@ 2020-11-25 15:47 ` kevcrumb
2020-11-25 15:52 ` [PR PATCH] [Updated] New package: randomx-1.1.8 kevcrumb
` (14 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 15:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
New comment by kevcrumb on void-packages repository
https://github.com/void-linux/void-packages/pull/26148#issuecomment-733787984
Comment:
Couldn't get arm6 to build, but pkg should be good for inclusion.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (5 preceding siblings ...)
2020-11-25 15:47 ` kevcrumb
@ 2020-11-25 15:52 ` kevcrumb
2020-11-25 15:54 ` kevcrumb
` (13 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 15:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
There is an updated pull request by kevcrumb against master on the void-packages repository
https://github.com/kevcrumb/void-packages randomx
https://github.com/void-linux/void-packages/pull/26148
New package: randomx-1.1.8
*randomx* contains binaries for benchmarking a machine for RandomX algo
*librandomx* provides library for using the algo (for example from a mining software)
A patch file from https://github.com/void-linux/void-packages/pull/26148.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-randomx-26148.patch --]
[-- Type: text/x-diff, Size: 1652 bytes --]
From 54f299a3b4968d4df5d9ce38334a817621660c40 Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Thu, 5 Nov 2020 10:35:54 +0000
Subject: [PATCH] New package: randomx-1.1.8
---
srcpkgs/randomx/template | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 srcpkgs/randomx/template
diff --git a/srcpkgs/randomx/template b/srcpkgs/randomx/template
new file mode 100644
index 00000000000..46116c5d48e
--- /dev/null
+++ b/srcpkgs/randomx/template
@@ -0,0 +1,34 @@
+# Template file for 'randomx'
+pkgname=randomx
+version=1.1.8
+revision=1
+wrksrc="RandomX-${version}"
+build_style=cmake
+short_desc="Proof of work algorithm based on random code execution"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+ ppc64*) configure_args+=" -DARCH=ppc64" ;;
+ ppc*) configure_args+=" -DARCH=ppc" ;;
+# *) configure_args+=" -DARCH=native" ;;
+esac
+
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (6 preceding siblings ...)
2020-11-25 15:52 ` [PR PATCH] [Updated] New package: randomx-1.1.8 kevcrumb
@ 2020-11-25 15:54 ` kevcrumb
2020-11-25 15:57 ` [PR REVIEW] " q66
` (12 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 15:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
New comment by kevcrumb on void-packages repository
https://github.com/void-linux/void-packages/pull/26148#issuecomment-733787984
Comment:
Pkg should be good for inclusion.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR REVIEW] New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (7 preceding siblings ...)
2020-11-25 15:54 ` kevcrumb
@ 2020-11-25 15:57 ` q66
2020-11-25 15:57 ` q66
` (11 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: q66 @ 2020-11-25 15:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
New review comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/26148#discussion_r530478966
Comment:
replace this with
```
*) broken="unsupported architecture";;
```
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR REVIEW] New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (8 preceding siblings ...)
2020-11-25 15:57 ` [PR REVIEW] " q66
@ 2020-11-25 15:57 ` q66
2020-11-25 16:00 ` sgn
` (10 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: q66 @ 2020-11-25 15:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
New review comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/26148#discussion_r530478966
Comment:
replace this with
```
*) broken="unsupported architecture" ;;
```
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (9 preceding siblings ...)
2020-11-25 15:57 ` q66
@ 2020-11-25 16:00 ` sgn
2020-11-25 16:02 ` [PR PATCH] [Updated] " kevcrumb
` (9 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: sgn @ 2020-11-25 16:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/pull/26148#issuecomment-733796073
Comment:
On 2020-11-25 07:57:25-0800, Daniel Kolesa <notifications@github.com> wrote:
> @q66 commented on this pull request.
>
>
>
> > +
> +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
> + makedepends+=" libatomic-devel"
> + configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
> +fi
> +
> +case "$XBPS_TARGET_MACHINE" in
> + armv7*) configure_args+=" -DARCH=armv7" ;;
> + armv6*) configure_args+=" -DARCH=armv6" ;;
> + armv5*) configure_args+=" -DARCH=armv5" ;;
> + aarch64*) configure_args+=" -DARCH=aarch64" ;;
> + mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
> + ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
> + ppc64*) configure_args+=" -DARCH=ppc64" ;;
> + ppc*) configure_args+=" -DARCH=ppc" ;;
> +# *) configure_args+=" -DARCH=native" ;;
>
> replace this with
>
> ```
> *) broken="unsupported architecture" ;;
> ```
Doesn't "*" include i686 and x86_64, which should be always supported?
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (10 preceding siblings ...)
2020-11-25 16:00 ` sgn
@ 2020-11-25 16:02 ` kevcrumb
2020-11-25 16:32 ` q66
` (8 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 16:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 566 bytes --]
There is an updated pull request by kevcrumb against master on the void-packages repository
https://github.com/kevcrumb/void-packages randomx
https://github.com/void-linux/void-packages/pull/26148
New package: randomx-1.1.8
~*randomx* contains binaries for benchmarking a machine for RandomX algo~
~*librandomx* provides library for using the algo (for example from a mining software)~
*randomx* provides library for using the algo (for example from a mining software)
A patch file from https://github.com/void-linux/void-packages/pull/26148.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-randomx-26148.patch --]
[-- Type: text/x-diff, Size: 1499 bytes --]
From a5e0f54e1e158aae9fbb92cdea2ecca893acd7eb Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Thu, 5 Nov 2020 10:35:54 +0000
Subject: [PATCH] New package: randomx-1.1.8
---
srcpkgs/randomx/template | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 srcpkgs/randomx/template
diff --git a/srcpkgs/randomx/template b/srcpkgs/randomx/template
new file mode 100644
index 00000000000..0876e6dc843
--- /dev/null
+++ b/srcpkgs/randomx/template
@@ -0,0 +1,31 @@
+# Template file for 'randomx'
+pkgname=randomx
+version=1.1.8
+revision=1
+wrksrc="RandomX-${version}"
+build_style=cmake
+short_desc="Proof of work algorithm based on random code execution"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ *) broken="unsupported architecture" ;;
+esac
+
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (11 preceding siblings ...)
2020-11-25 16:02 ` [PR PATCH] [Updated] " kevcrumb
@ 2020-11-25 16:32 ` q66
2020-11-25 16:32 ` q66
` (7 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: q66 @ 2020-11-25 16:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/26148#issuecomment-733814669
Comment:
oh yeah
you'll need to fill in dedicated lines for those
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (12 preceding siblings ...)
2020-11-25 16:32 ` q66
@ 2020-11-25 16:32 ` q66
2020-11-25 17:10 ` [PR PATCH] [Updated] " kevcrumb
` (6 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: q66 @ 2020-11-25 16:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/26148#issuecomment-733814669
Comment:
oh yeah
you'll need to fill in dedicated lines for those
also why did you remove the ppc ones?
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (13 preceding siblings ...)
2020-11-25 16:32 ` q66
@ 2020-11-25 17:10 ` kevcrumb
2020-11-25 17:11 ` kevcrumb
` (5 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 17:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 566 bytes --]
There is an updated pull request by kevcrumb against master on the void-packages repository
https://github.com/kevcrumb/void-packages randomx
https://github.com/void-linux/void-packages/pull/26148
New package: randomx-1.1.8
~*randomx* contains binaries for benchmarking a machine for RandomX algo~
~*librandomx* provides library for using the algo (for example from a mining software)~
*randomx* provides library for using the algo (for example from a mining software)
A patch file from https://github.com/void-linux/void-packages/pull/26148.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-randomx-26148.patch --]
[-- Type: text/x-diff, Size: 1743 bytes --]
From 9109ee927d181c5c52027eebc36a3260e93bfef7 Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Thu, 5 Nov 2020 10:35:54 +0000
Subject: [PATCH] New package: randomx-1.1.8
---
srcpkgs/randomx/template | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 srcpkgs/randomx/template
diff --git a/srcpkgs/randomx/template b/srcpkgs/randomx/template
new file mode 100644
index 00000000000..fb7d22bfd6f
--- /dev/null
+++ b/srcpkgs/randomx/template
@@ -0,0 +1,36 @@
+# Template file for 'randomx'
+pkgname=randomx
+version=1.1.8
+revision=1
+wrksrc="RandomX-${version}"
+build_style=cmake
+short_desc="Proof of work algorithm based on random code execution"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ i686*) configure_args+=" -DARCH=i686" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+ ppc64*) configure_args+=" -DARCH=ppc64" ;;
+ ppc*) configure_args+=" -DARCH=ppc" ;;
+ x86_64*) configure_args+=" -DARCH=x86_64" ;;
+ *) broken="unsupported architecture" ;;
+esac
+
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (14 preceding siblings ...)
2020-11-25 17:10 ` [PR PATCH] [Updated] " kevcrumb
@ 2020-11-25 17:11 ` kevcrumb
2020-11-25 17:12 ` [PR REVIEW] " ericonr
` (4 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 17:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 391 bytes --]
New comment by kevcrumb on void-packages repository
https://github.com/void-linux/void-packages/pull/26148#issuecomment-733836543
Comment:
> also why did you remove the ppc ones?
Had read your instruction like that.
I see Monero just sets `default` (https://github.com/void-linux/void-packages/blob/master/srcpkgs/monero/template#L37).
Pushed with explicit `i686` & `x86_64` now.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR REVIEW] New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (15 preceding siblings ...)
2020-11-25 17:11 ` kevcrumb
@ 2020-11-25 17:12 ` ericonr
2020-11-25 17:27 ` [PR PATCH] [Updated] " kevcrumb
` (3 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: ericonr @ 2020-11-25 17:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 162 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/26148#discussion_r530529166
Comment:
fix indentation
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (16 preceding siblings ...)
2020-11-25 17:12 ` [PR REVIEW] " ericonr
@ 2020-11-25 17:27 ` kevcrumb
2020-11-25 18:03 ` q66
` (2 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: kevcrumb @ 2020-11-25 17:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 566 bytes --]
There is an updated pull request by kevcrumb against master on the void-packages repository
https://github.com/kevcrumb/void-packages randomx
https://github.com/void-linux/void-packages/pull/26148
New package: randomx-1.1.8
~*randomx* contains binaries for benchmarking a machine for RandomX algo~
~*librandomx* provides library for using the algo (for example from a mining software)~
*randomx* provides library for using the algo (for example from a mining software)
A patch file from https://github.com/void-linux/void-packages/pull/26148.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-randomx-26148.patch --]
[-- Type: text/x-diff, Size: 1729 bytes --]
From 1a200203e5abd267b3d8f577b3af576d380907a0 Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Thu, 5 Nov 2020 10:35:54 +0000
Subject: [PATCH] New package: randomx-1.1.8
---
srcpkgs/randomx/template | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 srcpkgs/randomx/template
diff --git a/srcpkgs/randomx/template b/srcpkgs/randomx/template
new file mode 100644
index 00000000000..9e4fe74074e
--- /dev/null
+++ b/srcpkgs/randomx/template
@@ -0,0 +1,36 @@
+# Template file for 'randomx'
+pkgname=randomx
+version=1.1.8
+revision=1
+wrksrc="RandomX-${version}"
+build_style=cmake
+short_desc="Proof of work algorithm based on random code execution"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/tevador/randomx"
+distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
+checksum="f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+ armv7*) configure_args+=" -DARCH=armv7" ;;
+ armv6*) configure_args+=" -DARCH=armv6" ;;
+ armv5*) configure_args+=" -DARCH=armv5" ;;
+ aarch64*) configure_args+=" -DARCH=aarch64" ;;
+ i686*) configure_args+=" -DARCH=i686" ;;
+ mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+ ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+ ppc64*) configure_args+=" -DARCH=ppc64" ;;
+ ppc*) configure_args+=" -DARCH=ppc" ;;
+ x86_64*) configure_args+=" -DARCH=x86_64" ;;
+ *) broken="unsupported architecture" ;;
+esac
+
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (17 preceding siblings ...)
2020-11-25 17:27 ` [PR PATCH] [Updated] " kevcrumb
@ 2020-11-25 18:03 ` q66
2022-04-24 2:05 ` github-actions
2022-05-08 2:11 ` [PR PATCH] [Closed]: " github-actions
20 siblings, 0 replies; 22+ messages in thread
From: q66 @ 2020-11-25 18:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/26148#issuecomment-733864770
Comment:
> Had read your instruction like that.
not really, i commented on just one line
what monero sets does not matter, it's wrong there too, since packages like to assume `x86_64` and `i686` won't be cross-compiled, we're fixing that
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (18 preceding siblings ...)
2020-11-25 18:03 ` q66
@ 2022-04-24 2:05 ` github-actions
2022-05-08 2:11 ` [PR PATCH] [Closed]: " github-actions
20 siblings, 0 replies; 22+ messages in thread
From: github-actions @ 2022-04-24 2:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/26148#issuecomment-1107685697
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Closed]: New package: randomx-1.1.8
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
` (19 preceding siblings ...)
2022-04-24 2:05 ` github-actions
@ 2022-05-08 2:11 ` github-actions
20 siblings, 0 replies; 22+ messages in thread
From: github-actions @ 2022-05-08 2:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 408 bytes --]
There's a closed pull request on the void-packages repository
New package: randomx-1.1.8
https://github.com/void-linux/void-packages/pull/26148
Description:
~*randomx* contains binaries for benchmarking a machine for RandomX algo~
~*librandomx* provides library for using the algo (for example from a mining software)~
*randomx* provides library for using the algo (for example from a mining software)
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2022-05-08 2:11 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 10:39 [PR PATCH] randomx: add package v1.1.8 and librandomx kevcrumb
2020-11-25 14:09 ` [PR PATCH] [Updated] " kevcrumb
2020-11-25 15:10 ` kevcrumb
2020-11-25 15:21 ` kevcrumb
2020-11-25 15:33 ` kevcrumb
2020-11-25 15:46 ` kevcrumb
2020-11-25 15:47 ` kevcrumb
2020-11-25 15:52 ` [PR PATCH] [Updated] New package: randomx-1.1.8 kevcrumb
2020-11-25 15:54 ` kevcrumb
2020-11-25 15:57 ` [PR REVIEW] " q66
2020-11-25 15:57 ` q66
2020-11-25 16:00 ` sgn
2020-11-25 16:02 ` [PR PATCH] [Updated] " kevcrumb
2020-11-25 16:32 ` q66
2020-11-25 16:32 ` q66
2020-11-25 17:10 ` [PR PATCH] [Updated] " kevcrumb
2020-11-25 17:11 ` kevcrumb
2020-11-25 17:12 ` [PR REVIEW] " ericonr
2020-11-25 17:27 ` [PR PATCH] [Updated] " kevcrumb
2020-11-25 18:03 ` q66
2022-04-24 2:05 ` github-actions
2022-05-08 2:11 ` [PR PATCH] [Closed]: " github-actions
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).