diff options
-rw-r--r-- | app-benchmarks/geekbench-ml/geekbench-ml-0.6.0-r1.ebuild (renamed from app-benchmarks/geekbench-ml/geekbench-ml-0.6.0.ebuild) | 11 |
1 files changed, 10 insertions, 1 deletions
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 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} |