app-benchmarks/geekbench-ml: new package, add 0.6.0

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2023-12-12 22:48:23 +01:00
parent e08c63f2f4
commit c6a8a76f70
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST GeekbenchML-0.6.0-Linux.tar.gz 451747506 BLAKE2B bd08fc83192c1af827278765922411c708e6d971a04d0d6613bef94277e36fd8c0a2e0d9ec7abca0175a8ede46106ad92d8d10303b05806f8e5a3ce7ffde1920 SHA512 70fcace831d6ce89fef853f963fede592044b19fe23c5cd2b9d514d94bdb3b61070975435e061aa5ab657400aeb60d4fda623a1c2ef589e7429481ff7b0a9300

View File

@@ -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>"
}

View File

@@ -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>