From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/geekbench/
Date: Tue, 14 Feb 2023 20:42:50 +0000 (UTC) [thread overview]
Message-ID: <1676406487.6edaa0ebf8fa0120c063d88cccf60c93471932d6.conikost@gentoo> (raw)
commit: 6edaa0ebf8fa0120c063d88cccf60c93471932d6
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 20:28:07 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 20:28:07 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6edaa0eb
app-benchmarks/geekbench: add arm64 keyword
Closes: https://bugs.gentoo.org/894442
Closes: https://bugs.gentoo.org/894438
Closes: https://bugs.gentoo.org/894440
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-benchmarks/geekbench/Manifest | 1 +
app-benchmarks/geekbench/geekbench-6.0.0.ebuild | 24 ++++++++++++++++--------
2 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/app-benchmarks/geekbench/Manifest b/app-benchmarks/geekbench/Manifest
index 19c4440740f9..bd7dca7a87b9 100644
--- a/app-benchmarks/geekbench/Manifest
+++ b/app-benchmarks/geekbench/Manifest
@@ -5,3 +5,4 @@ DIST Geekbench-4.4.4-Linux.tar.gz 71089467 BLAKE2B 257f79644e20189950fb7c9121e32
DIST Geekbench-5.4.6-Linux.tar.gz 93188716 BLAKE2B 6a38449b8b494fe878d2c583838c2cc95eef736a174231d8ab25b616c39b8deb4edbadd5f9545176a01a9fff55935f20c572fb9cb3902dddc2fad2836cba5166 SHA512 6c1bc9db284ee4dea282f329b08bc75172c92951d1d43131226eaa42e05e1e39e11d34fe0c3d29f45e6b421bea16a102170a631a4b11a7a3d026024171ba5ccb
DIST Geekbench-5.5.1-Linux.tar.gz 93199992 BLAKE2B e2ff24da19134778dd1b3036ac3fb8b2d99746dbe41b1959cb74522613a7b9a8a0e3796d22351af877a9ea7a734c6b101a0ffadfd3bbc2e29fb9b12e59106848 SHA512 0fd90d55eaaf178e4c981ef6ef54808d1ff86edc92c907a5d8e2a3a379c2289e614d917db330a3d748c818bcedb2dc69cad250b1b98ba80287c6d9a66382bcc4
DIST Geekbench-6.0.0-Linux.tar.gz 258039528 BLAKE2B d77b8920f7b935b1db5023b58624fa7c3f0596c0ac8413725e23765e191e5225cb0862d0bd722b5f40056fe3027f417bfa2e97519930e2ad3ce3cd896e8cdd12 SHA512 e3e724c7dad7879a5be3d885dc1a163b3d84d78bf60b501279c289aad55c610c9634ecfa46352b0ea9ad7946129e1cc97d8ef4f5970888f8ee03fcd7a2bf9475
+DIST Geekbench-6.0.0-LinuxARMPreview.tar.gz 222261452 BLAKE2B c7f58abaabdbb8ed3800862b186d6415cbcaae5cc36220cbb5872b0dfcc5236f0bff3c677a48bbc1f9cb8e47d2798c8cc99ca8f9ee2a7913788b7c4c944dfa8f SHA512 dadc476b5e88c608a532b35088d0884a330ab5994fb72085ec0ed70c5bcba641328b5fe1c47d8e0c0d4ef9201329a25d8ae1fddce1fa917a74ad3fcc0a08cf41
diff --git a/app-benchmarks/geekbench/geekbench-6.0.0.ebuild b/app-benchmarks/geekbench/geekbench-6.0.0.ebuild
index f014020673ff..a49619128566 100644
--- a/app-benchmarks/geekbench/geekbench-6.0.0.ebuild
+++ b/app-benchmarks/geekbench/geekbench-6.0.0.ebuild
@@ -3,23 +3,27 @@
EAPI=8
-MY_PV="k9ea2vqm"
+EGIT_COMMIT="k9ea2vqm"
DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows"
HOMEPAGE="https://www.geekbench.com/"
-SRC_URI="https://cdn.geekbench.com/${MY_PV}/Geekbench-${PV}-Linux.tar.gz"
-S="${WORKDIR}/Geekbench-${PV}-Linux"
+SRC_URI="
+ amd64? ( https://cdn.geekbench.com/${EGIT_COMMIT}/Geekbench-${PV}-Linux.tar.gz )
+ arm64? ( https://cdn.geekbench.com/${EGIT_COMMIT}/Geekbench-${PV}-LinuxARMPreview.tar.gz )
+"
+S="${WORKDIR}"
-KEYWORDS="-* ~amd64"
+KEYWORDS="-* ~amd64 ~arm64"
LICENSE="geekbench"
SLOT="6"
RESTRICT="bindist mirror"
QA_PREBUILT="
- opt/geekbench6/geekbench_avx
- opt/geekbench6/geekbench6
+ opt/geekbench6/geekbench_aarch64
+ opt/geekbench6/geekbench_avx2
opt/geekbench6/geekbench_x86_64
+ opt/geekbench6/geekbench6
"
pkg_nofetch() {
@@ -28,11 +32,15 @@ pkg_nofetch() {
}
src_install() {
+ local MY_S="Geekbench-${PV}-Linux$(usex arm64 'ARMPreview' '')"
+
exeinto /opt/geekbench6
- doexe geekbench_avx2 geekbench6 geekbench_x86_64
+ use amd64 && doexe "${MY_S}"/geekbench_avx2 "${MY_S}"/geekbench_x86_64
+ use arm64 && doexe "${MY_S}"/geekbench_aarch64
+ doexe "${MY_S}"/geekbench6
insinto /opt/geekbench6
- doins geekbench.plar geekbench-workload.plar
+ doins "${MY_S}"/geekbench.plar "${MY_S}"/geekbench-workload.plar
dodir /opt/bin
dosym ../geekbench6/geekbench6 /opt/bin/geekbench6
next reply other threads:[~2023-02-14 20:42 UTC|newest]
Thread overview: 109+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-14 20:42 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-01 1:14 [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/geekbench/ Conrad Kostecki
2025-03-01 1:14 Conrad Kostecki
2025-03-01 1:14 Conrad Kostecki
2025-01-28 22:23 Conrad Kostecki
2024-09-28 20:52 Conrad Kostecki
2024-05-12 12:29 Conrad Kostecki
2024-05-12 12:29 Conrad Kostecki
2024-04-17 14:13 Conrad Kostecki
2024-04-17 14:13 Conrad Kostecki
2023-12-12 22:16 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-10-02 19:32 Conrad Kostecki
2023-09-13 19:42 Conrad Kostecki
2023-07-12 18:45 Conrad Kostecki
2023-07-12 18:45 Conrad Kostecki
2023-06-08 20:17 Conrad Kostecki
2023-04-23 15:48 Conrad Kostecki
2023-04-23 15:48 Conrad Kostecki
2023-04-09 19:35 Conrad Kostecki
2023-04-03 19:34 Conrad Kostecki
2023-03-03 23:04 Conrad Kostecki
2023-03-03 23:04 Conrad Kostecki
2023-03-03 23:04 Conrad Kostecki
2023-02-14 20:45 Conrad Kostecki
2023-02-14 20:42 Conrad Kostecki
2023-02-14 20:42 Conrad Kostecki
2023-02-14 20:42 Conrad Kostecki
2023-02-14 16:01 Conrad Kostecki
2023-02-13 9:20 Conrad Kostecki
2022-12-25 0:20 Conrad Kostecki
2022-12-25 0:20 Conrad Kostecki
2022-12-04 14:34 Conrad Kostecki
2022-05-18 21:02 Conrad Kostecki
2022-02-03 15:03 Conrad Kostecki
2022-02-03 15:03 Conrad Kostecki
2021-12-23 19:19 Conrad Kostecki
2021-12-08 16:24 Conrad Kostecki
2021-12-08 16:24 Conrad Kostecki
2021-11-08 14:37 Conrad Kostecki
2021-11-08 14:37 Conrad Kostecki
2021-10-29 22:01 Conrad Kostecki
2021-10-29 22:01 Conrad Kostecki
2021-06-02 22:12 Conrad Kostecki
2021-06-02 22:12 Conrad Kostecki
2021-05-03 19:16 Conrad Kostecki
2021-04-13 22:20 Conrad Kostecki
2021-04-13 22:20 Conrad Kostecki
2021-03-09 23:17 Conrad Kostecki
2021-03-09 23:17 Conrad Kostecki
2021-02-06 16:55 Conrad Kostecki
2020-12-15 14:03 Conrad Kostecki
2020-12-15 14:03 Conrad Kostecki
2020-11-15 17:04 Conrad Kostecki
2020-11-15 17:04 Conrad Kostecki
2020-11-12 18:07 Conrad Kostecki
2020-11-12 18:07 Conrad Kostecki
2020-10-21 9:16 Conrad Kostecki
2020-10-21 9:16 Conrad Kostecki
2020-10-03 14:42 Conrad Kostecki
2020-09-18 8:01 Conrad Kostecki
2020-08-09 15:53 Conrad Kostecki
2020-08-09 15:53 Conrad Kostecki
2020-06-28 21:24 Conrad Kostecki
2020-06-28 21:24 Conrad Kostecki
2020-06-14 21:57 Conrad Kostecki
2020-05-21 22:28 Conrad Kostecki
2020-05-21 22:28 Conrad Kostecki
2020-05-21 8:06 Agostino Sarubbo
2020-05-21 7:53 Agostino Sarubbo
2020-04-09 8:51 Conrad Kostecki
2020-01-27 15:44 Thomas Deutschmann
2020-01-20 12:52 Agostino Sarubbo
2019-12-29 23:27 Conrad Kostecki
2019-12-29 23:27 Conrad Kostecki
2019-12-04 23:52 Conrad Kostecki
2019-12-04 23:52 Conrad Kostecki
2019-10-29 6:22 Joonas Niilola
2019-10-29 6:22 Joonas Niilola
2019-10-29 6:22 Joonas Niilola
2019-10-01 5:20 Joonas Niilola
2019-10-01 5:20 Joonas Niilola
2019-09-24 13:51 Joonas Niilola
2019-09-23 20:18 Piotr Karbowski
2019-09-18 16:13 Joonas Niilola
2019-09-18 16:13 Joonas Niilola
2019-09-08 7:01 Joonas Niilola
2019-07-31 8:47 Joonas Niilola
2019-07-31 8:47 Joonas Niilola
2019-07-18 8:16 Michał Górny
2019-03-03 21:49 Andreas Sturmlechner
2019-03-03 12:00 Mikle Kolyada
2019-03-02 23:42 Thomas Deutschmann
2019-01-28 23:02 Patrice Clement
2019-01-28 23:02 Patrice Clement
2018-12-28 23:01 Patrice Clement
2018-12-28 23:01 Patrice Clement
2018-12-16 19:30 Andreas Sturmlechner
2018-11-06 7:29 Mikle Kolyada
2018-09-19 5:11 Georgy Yakovlev
2018-07-11 8:51 Tony Vroon
2018-07-11 8:51 Tony Vroon
2018-07-09 0:39 Mikle Kolyada
2018-06-07 8:39 Michał Górny
2018-05-27 11:41 Mikle Kolyada
2018-05-18 15:05 Agostino Sarubbo
2018-05-07 19:22 Thomas Deutschmann
2018-03-24 8:56 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1676406487.6edaa0ebf8fa0120c063d88cccf60c93471932d6.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox