From: "罗百科" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
Date: Sat, 23 Dec 2023 10:43:57 +0000 (UTC) [thread overview]
Message-ID: <1703328220.fae366207e36f8cde1ac077c82f9c617dcf71c87.patrick@gentoo> (raw)
commit: fae366207e36f8cde1ac077c82f9c617dcf71c87
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 23 10:36:41 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Dec 23 10:43:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fae36620
dev-util/hipcc: add 6.0.0
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
dev-util/hipcc/Manifest | 1 +
dev-util/hipcc/hipcc-6.0.0.ebuild | 50 +++++++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/dev-util/hipcc/Manifest b/dev-util/hipcc/Manifest
index 6dc5e4724e12..c923482a6346 100644
--- a/dev-util/hipcc/Manifest
+++ b/dev-util/hipcc/Manifest
@@ -1 +1,2 @@
DIST hipcc-5.7.1.tar.gz 36589 BLAKE2B a8ae6bd9f0f985d78119223b67b5b35b8d1ee38edb7e43c1e77752d203fe2c8b669b3bcff0cec661054d8cb24f799e7784a49eb0664bdd1dc2bf024ce026c175 SHA512 2d232c8dd4a47de6e0cff9d37b4e63a26cb1809ef2ff3a119c15e992cae96ffc2f4d8c1ddffd8732dea3a3d589a93e177f424a6174f982908aa50904e265432a
+DIST hipcc-6.0.0.tar.gz 36648 BLAKE2B d4b67a962e61da5e96423191dad13e90c6aaec890a2b0dccb83ec4b3a9551ed9e2050bdc747fe7c79627d51b62408918157114f954aa579097163af2fc0b06e8 SHA512 e5307c880c96906d216b44b7bb269756e713cf45f5c72fc5dfc31f1e69d8e5e2cc8022bca289dc2b0a1bd72f86ddbdbb29dfda45010d4e4a4fb77096c9c93621
diff --git a/dev-util/hipcc/hipcc-6.0.0.ebuild b/dev-util/hipcc/hipcc-6.0.0.ebuild
new file mode 100644
index 000000000000..90e3186ba999
--- /dev/null
+++ b/dev-util/hipcc/hipcc-6.0.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake llvm
+
+LLVM_MAX_SLOT=17
+
+DESCRIPTION="Radeon Open Compute hipcc"
+HOMEPAGE="https://github.com/ROCm-Developer-Tools/hipcc"
+
+KEYWORDS="~amd64"
+SRC_URI="https://github.com/ROCm-Developer-Tools/hipcc/archive/refs/tags/rocm-${PV}.tar.gz -> hipcc-${PV}.tar.gz"
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0/$(ver_cut 1-2)"
+IUSE="debug test"
+RESTRICT="!test? ( test )"
+
+S=${WORKDIR}/HIPCC-rocm-${PV}
+
+DEPEND="<sys-devel/llvm-18:=
+ <sys-devel/clang-18:=
+ "
+RDEPEND="${DEPEND}
+ !<dev-util/hip-5.7"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-5.7.1-fno-stack-protector.patch"
+ "${FILESDIR}/${PN}-5.7.1-hipcc-hip-version.patch"
+)
+
+src_prepare() {
+ cmake_src_prepare
+
+ sed -e "s:\$ROCM_PATH/llvm/bin:$(get_llvm_prefix ${LLVM_MAX_SLOT})/bin:" \
+ -i bin/hipvars.pm || die
+
+ 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" \
+ -i bin/hipcc.pl || die
+}
+
+src_install() {
+ cmake_src_install
+ # rm unwanted copy
+ rm -rf "${ED}/usr/hip" || die
+}
next reply other threads:[~2023-12-23 10:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-23 10:43 罗百科 [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-08 10:07 [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/ Patrick Lauer
2024-12-01 7:57 Patrick Lauer
2024-07-28 8:04 Patrick Lauer
2024-06-26 9:21 Sam James
2024-01-07 15:39 罗百科
2023-11-19 13:09 罗百科
2023-11-19 11:30 罗百科
2023-10-30 9:22 罗百科
2023-10-19 16:17 罗百科
2023-10-19 16:01 罗百科
2023-10-19 10:40 罗百科
2023-10-19 10:38 罗百科
2023-10-09 16:27 罗百科
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=1703328220.fae366207e36f8cde1ac077c82f9c617dcf71c87.patrick@gentoo \
--to=patrick@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