summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiyang Wu <xgreenlandforwyy@gmail.com>2024-05-04 00:07:43 +0800
committerSam James <sam@gentoo.org>2024-06-26 10:18:58 +0100
commit0a373cdc21650ba40a82e5d296883e669bf25788 (patch)
tree0222b677841aa9384d0dcadedeeca3983ee4be80
parentdev-libs/rocm-comgr: add 6.1.1 (diff)
downloadgentoo-0a373cdc21650ba40a82e5d296883e669bf25788.tar.gz
gentoo-0a373cdc21650ba40a82e5d296883e669bf25788.tar.bz2
gentoo-0a373cdc21650ba40a82e5d296883e669bf25788.zip
dev-util/hipcc: handle hipvars.pm with perl-functions eclass
Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-util/hipcc/hipcc-6.0.0-r1.ebuild (renamed from dev-util/hipcc/hipcc-6.0.0.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-util/hipcc/hipcc-6.0.0.ebuild b/dev-util/hipcc/hipcc-6.0.0-r1.ebuild
index 088297598782..c68b54e2dd9d 100644
--- a/dev-util/hipcc/hipcc-6.0.0.ebuild
+++ b/dev-util/hipcc/hipcc-6.0.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake llvm
+inherit cmake perl-functions llvm
LLVM_MAX_SLOT=17
@@ -48,4 +48,7 @@ src_install() {
cmake_src_install
# rm unwanted copy
rm -rf "${ED}/usr/hip" || die
+ # Handle hipvars.pm
+ rm "${ED}/usr/bin/hipvars.pm" || die
+ perl_domodule "${S}"/bin/hipvars.pm
}