summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiyang Wu <xgreenlandforwyy@gmail.com>2024-05-03 12:04:09 +0800
committerSam James <sam@gentoo.org>2024-06-26 10:18:58 +0100
commitfc73628788943face5dcbc4310712d802ca9a879 (patch)
tree568eb7487caf6e527551d889d81d480f75714d30
parentdev-util/hipcc: handle hipvars.pm with perl-functions eclass (diff)
downloadgentoo-fc73628788943face5dcbc4310712d802ca9a879.tar.gz
gentoo-fc73628788943face5dcbc4310712d802ca9a879.tar.bz2
gentoo-fc73628788943face5dcbc4310712d802ca9a879.zip
dev-util/hipcc: Revert "Fix invalid path"
This sed command has no effect on hipcc.pl. I guess it want to change ${ROCM_PATH}/bin/rocm_agent_enumerator to /usr/bin/rocm_agent_enumerator, but the original is correct, and the later one is not prefixified. Reverts: 4846734865b7e3f405ba653d3d61024a90178e99. Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-util/hipcc/hipcc-6.0.0-r1.ebuild1
1 files changed, 0 insertions, 1 deletions
diff --git a/dev-util/hipcc/hipcc-6.0.0-r1.ebuild b/dev-util/hipcc/hipcc-6.0.0-r1.ebuild
index c68b54e2dd9d..87fb1e802332 100644
--- a/dev-util/hipcc/hipcc-6.0.0-r1.ebuild
+++ b/dev-util/hipcc/hipcc-6.0.0-r1.ebuild
@@ -40,7 +40,6 @@ 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
}