summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-12-12 22:48:23 +0100
committerConrad Kostecki <conikost@gentoo.org>2023-12-12 23:15:59 +0100
commitc6a8a76f705c5bbca95719324ab2d8e233a89938 (patch)
treeebc1294c5a1d23eeee05cacbb0f1929617b95542 /app-benchmarks
parentapp-benchmarks/stress-ng: add 0.17.03, drop 0.17.01 (diff)
downloadgentoo-c6a8a76f705c5bbca95719324ab2d8e233a89938.tar.gz
gentoo-c6a8a76f705c5bbca95719324ab2d8e233a89938.tar.bz2
gentoo-c6a8a76f705c5bbca95719324ab2d8e233a89938.zip
app-benchmarks/geekbench-ml: new package, add 0.6.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/geekbench-ml/Manifest1
-rw-r--r--app-benchmarks/geekbench-ml/geekbench-ml-0.6.0.ebuild38
-rw-r--r--app-benchmarks/geekbench-ml/metadata.xml8
3 files changed, 47 insertions, 0 deletions
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>