* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/geekbench-ml/
@ 2023-12-12 22:16 Conrad Kostecki
0 siblings, 0 replies; 2+ messages in thread
From: Conrad Kostecki @ 2023-12-12 22:16 UTC (permalink / raw
To: gentoo-commits
commit: c6a8a76f705c5bbca95719324ab2d8e233a89938
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 12 21:48:23 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 22:15:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a8a76f
app-benchmarks/geekbench-ml: new package, add 0.6.0
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-benchmarks/geekbench-ml/Manifest | 1 +
.../geekbench-ml/geekbench-ml-0.6.0.ebuild | 38 ++++++++++++++++++++++
app-benchmarks/geekbench-ml/metadata.xml | 8 +++++
3 files changed, 47 insertions(+)
diff --git a/app-benchmarks/geekbench-ml/Manifest b/app-benchmarks/geekbench-ml/Manifest
new file mode 100644
index 000000000000..dc99d9b3ace4
--- /dev/null
+++ b/app-benchmarks/geekbench-ml/Manifest
@@ -0,0 +1 @@
+DIST GeekbenchML-0.6.0-Linux.tar.gz 451747506 BLAKE2B bd08fc83192c1af827278765922411c708e6d971a04d0d6613bef94277e36fd8c0a2e0d9ec7abca0175a8ede46106ad92d8d10303b05806f8e5a3ce7ffde1920 SHA512 70fcace831d6ce89fef853f963fede592044b19fe23c5cd2b9d514d94bdb3b61070975435e061aa5ab657400aeb60d4fda623a1c2ef589e7429481ff7b0a9300
diff --git a/app-benchmarks/geekbench-ml/geekbench-ml-0.6.0.ebuild b/app-benchmarks/geekbench-ml/geekbench-ml-0.6.0.ebuild
new file mode 100644
index 000000000000..f5cf63b3ca7d
--- /dev/null
+++ b/app-benchmarks/geekbench-ml/geekbench-ml-0.6.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A Cross-Platform ML workloads Benchmark"
+HOMEPAGE="https://www.geekbench.com/"
+SRC_URI="amd64? ( https://cdn.geekbench.com/GeekbenchML-${PV}-Linux.tar.gz )"
+S="${WORKDIR}/GeekbenchML-${PV}-Linux"
+
+KEYWORDS="-* ~amd64"
+LICENSE="geekbench"
+SLOT="6"
+
+RESTRICT="bindist mirror"
+
+QA_PREBUILT="
+ opt/geekbench-ml/banff_avx2
+ opt/geekbench-ml/banff_x86_64
+ opt/geekbench-ml/banff
+"
+
+src_install() {
+ exeinto /opt/geekbench-ml
+ doexe banff{,_avx2,_x86_64}
+
+ insinto /opt/geekbench-ml
+ doins banff.plar banff-workload.plar
+
+ dodir /opt/bin
+ dosym ../geekbench-ml/banff /opt/bin/geekbench-ml
+}
+
+pkg_postinst() {
+ elog "If you have purchased a commercial license, you can enter"
+ elog "your email address and your license key with the following command:"
+ elog "geekbench-ml -r <email address> <license key>"
+}
diff --git a/app-benchmarks/geekbench-ml/metadata.xml b/app-benchmarks/geekbench-ml/metadata.xml
new file mode 100644
index 000000000000..c07e13d4a6bd
--- /dev/null
+++ b/app-benchmarks/geekbench-ml/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/geekbench-ml/
@ 2024-01-02 19:17 Conrad Kostecki
0 siblings, 0 replies; 2+ messages in thread
From: Conrad Kostecki @ 2024-01-02 19:17 UTC (permalink / raw
To: gentoo-commits
commit: e2dabd04cd30dcd96d92ee80cf5cba26ae8ecc72
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 2 19:16:41 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Jan 2 19:16:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2dabd04
app-benchmarks/geekbench-ml: remove insecure RUNPATHs
Closes: https://bugs.gentoo.org/920361
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
...geekbench-ml-0.6.0.ebuild => geekbench-ml-0.6.0-r1.ebuild} | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/app-benchmarks/geekbench-ml/geekbench-ml-0.6.0.ebuild b/app-benchmarks/geekbench-ml/geekbench-ml-0.6.0-r1.ebuild
similarity index 83%
rename from app-benchmarks/geekbench-ml/geekbench-ml-0.6.0.ebuild
rename to app-benchmarks/geekbench-ml/geekbench-ml-0.6.0-r1.ebuild
index f5cf63b3ca7d..db472985aa6c 100644
--- a/app-benchmarks/geekbench-ml/geekbench-ml-0.6.0.ebuild
+++ b/app-benchmarks/geekbench-ml/geekbench-ml-0.6.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,12 +14,21 @@ SLOT="6"
RESTRICT="bindist mirror"
+BDEPEND="dev-util/patchelf"
+
QA_PREBUILT="
opt/geekbench-ml/banff_avx2
opt/geekbench-ml/banff_x86_64
opt/geekbench-ml/banff
"
+src_prepare() {
+ default
+
+ # Fix QA insecure RUNPATHs
+ patchelf --remove-rpath banff{,_avx2,_x86_64} || die
+}
+
src_install() {
exeinto /opt/geekbench-ml
doexe banff{,_avx2,_x86_64}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-02 19:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 22:16 [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/geekbench-ml/ Conrad Kostecki
-- strict thread matches above, loose matches on Subject: below --
2024-01-02 19:17 Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox