summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2024-01-07 15:38:43 +0000
committerPatrick Lauer <patrick@gentoo.org>2024-01-07 15:39:07 +0000
commit4846734865b7e3f405ba653d3d61024a90178e99 (patch)
treee59a97f98ddc3c678942b72d72efe1764f312934 /dev-util
parentgnome-base/gvfs: Stabilize 1.52.1 arm64, #920657 (diff)
downloadgentoo-4846734865b7e3f405ba653d3d61024a90178e99.tar.gz
gentoo-4846734865b7e3f405ba653d3d61024a90178e99.tar.bz2
gentoo-4846734865b7e3f405ba653d3d61024a90178e99.zip
dev-util/hipcc: Fix invalid path
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/hipcc/hipcc-6.0.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-util/hipcc/hipcc-6.0.0.ebuild b/dev-util/hipcc/hipcc-6.0.0.ebuild
index 90e3186ba999..088297598782 100644
--- a/dev-util/hipcc/hipcc-6.0.0.ebuild
+++ b/dev-util/hipcc/hipcc-6.0.0.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
@@ -40,6 +40,7 @@ src_prepare() {
sed -e "s:\$ENV{'DEVICE_LIB_PATH'}:'${EPREFIX}/usr/lib/amdgcn/bitcode':" \
-e "s:\$ENV{'HIP_LIB_PATH'}:'${EPREFIX}/usr/$(get_libdir)':" \
-e "/HIP.*FLAGS.*isystem.*HIP_INCLUDE_PATH/d" \
+ -e 's:${ROCM_PATH}/usr/bin/rocm_agent_enumerator:/usr/bin/rocm_agent_enumerator:' \
-i bin/hipcc.pl || die
}