public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2023-10-09 16:27 罗百科
  0 siblings, 0 replies; 13+ messages in thread
From: 罗百科 @ 2023-10-09 16:27 UTC (permalink / raw
  To: gentoo-commits

commit:     97d61219a0105a8fd6300a960efa8e10c74f7bbb
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  9 16:22:58 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Oct  9 16:27:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97d61219

dev-util/hipcc: new package, add 5.7.0

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-util/hipcc/Manifest           |  1 +
 dev-util/hipcc/hipcc-5.7.0.ebuild | 19 +++++++++++++++++++
 dev-util/hipcc/metadata.xml       | 27 +++++++++++++++++++++++++++
 3 files changed, 47 insertions(+)

diff --git a/dev-util/hipcc/Manifest b/dev-util/hipcc/Manifest
new file mode 100644
index 000000000000..77ab00cb0bfc
--- /dev/null
+++ b/dev-util/hipcc/Manifest
@@ -0,0 +1 @@
+DIST hipcc-5.7.0.tar.gz 36589 BLAKE2B 6dba983a0dd15e77df06445c3bc512d190e86a47d1a18689234e97a47d452a49619dcd680334041ff114a5bbe5bc37d77e37c85b6a18ffc2f8236f4b72024dd2 SHA512 b9f44c82623136a91b20bf541140b75e61a9bfa89b977ab84512ef8509c61c874887aed20a33f4e927469ed96222ba5d01df47eb6324f3f0f119ae2e31f2567d

diff --git a/dev-util/hipcc/hipcc-5.7.0.ebuild b/dev-util/hipcc/hipcc-5.7.0.ebuild
new file mode 100644
index 000000000000..062d629e1a4c
--- /dev/null
+++ b/dev-util/hipcc/hipcc-5.7.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+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}

diff --git a/dev-util/hipcc/metadata.xml b/dev-util/hipcc/metadata.xml
new file mode 100644
index 000000000000..d280423bad96
--- /dev/null
+++ b/dev-util/hipcc/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>sci@gentoo.org</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+  <maintainer type="person">
+    <email>candrews@gentoo.org</email>
+    <name>Craig Andrews</name>
+  </maintainer>
+  <maintainer type="person">
+    <email>patrick@gentoo.org</email>
+    <name>Patrick Lauer</name>
+  </maintainer>
+  <maintainer type="person" proxied="yes">
+    <email>xgreenlandforwyy@gmail.com</email>
+    <name>Yiyang Wu</name>
+  </maintainer>
+  <maintainer type="person" proxied="yes">
+    <email>gentoo@holzke.net</email>
+    <name>Wilfried Holzke</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">ROCm-Developer-Tools/hipcc</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2023-10-19 10:38 罗百科
  0 siblings, 0 replies; 13+ messages in thread
From: 罗百科 @ 2023-10-19 10:38 UTC (permalink / raw
  To: gentoo-commits

commit:     aa67c16de93b1d9997a29f9323c356a1d4050f7b
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 10:37:49 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 10:38:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa67c16d

dev-util/hipcc: add 5.7.1

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-util/hipcc/Manifest           |  1 +
 dev-util/hipcc/hipcc-5.7.1.ebuild | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/dev-util/hipcc/Manifest b/dev-util/hipcc/Manifest
index 77ab00cb0bfc..5980ac7a2c6a 100644
--- a/dev-util/hipcc/Manifest
+++ b/dev-util/hipcc/Manifest
@@ -1 +1,2 @@
 DIST hipcc-5.7.0.tar.gz 36589 BLAKE2B 6dba983a0dd15e77df06445c3bc512d190e86a47d1a18689234e97a47d452a49619dcd680334041ff114a5bbe5bc37d77e37c85b6a18ffc2f8236f4b72024dd2 SHA512 b9f44c82623136a91b20bf541140b75e61a9bfa89b977ab84512ef8509c61c874887aed20a33f4e927469ed96222ba5d01df47eb6324f3f0f119ae2e31f2567d
+DIST hipcc-5.7.1.tar.gz 36589 BLAKE2B a8ae6bd9f0f985d78119223b67b5b35b8d1ee38edb7e43c1e77752d203fe2c8b669b3bcff0cec661054d8cb24f799e7784a49eb0664bdd1dc2bf024ce026c175 SHA512 2d232c8dd4a47de6e0cff9d37b4e63a26cb1809ef2ff3a119c15e992cae96ffc2f4d8c1ddffd8732dea3a3d589a93e177f424a6174f982908aa50904e265432a

diff --git a/dev-util/hipcc/hipcc-5.7.1.ebuild b/dev-util/hipcc/hipcc-5.7.1.ebuild
new file mode 100644
index 000000000000..062d629e1a4c
--- /dev/null
+++ b/dev-util/hipcc/hipcc-5.7.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+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}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2023-10-19 10:40 罗百科
  0 siblings, 0 replies; 13+ messages in thread
From: 罗百科 @ 2023-10-19 10:40 UTC (permalink / raw
  To: gentoo-commits

commit:     5a614632e36999b25b3ff0de08d8b9135e1a982a
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 10:39:59 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 10:39:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a614632

dev-util/hipcc: drop 5.7.0

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-util/hipcc/Manifest           |  1 -
 dev-util/hipcc/hipcc-5.7.0.ebuild | 19 -------------------
 2 files changed, 20 deletions(-)

diff --git a/dev-util/hipcc/Manifest b/dev-util/hipcc/Manifest
index 5980ac7a2c6a..6dc5e4724e12 100644
--- a/dev-util/hipcc/Manifest
+++ b/dev-util/hipcc/Manifest
@@ -1,2 +1 @@
-DIST hipcc-5.7.0.tar.gz 36589 BLAKE2B 6dba983a0dd15e77df06445c3bc512d190e86a47d1a18689234e97a47d452a49619dcd680334041ff114a5bbe5bc37d77e37c85b6a18ffc2f8236f4b72024dd2 SHA512 b9f44c82623136a91b20bf541140b75e61a9bfa89b977ab84512ef8509c61c874887aed20a33f4e927469ed96222ba5d01df47eb6324f3f0f119ae2e31f2567d
 DIST hipcc-5.7.1.tar.gz 36589 BLAKE2B a8ae6bd9f0f985d78119223b67b5b35b8d1ee38edb7e43c1e77752d203fe2c8b669b3bcff0cec661054d8cb24f799e7784a49eb0664bdd1dc2bf024ce026c175 SHA512 2d232c8dd4a47de6e0cff9d37b4e63a26cb1809ef2ff3a119c15e992cae96ffc2f4d8c1ddffd8732dea3a3d589a93e177f424a6174f982908aa50904e265432a

diff --git a/dev-util/hipcc/hipcc-5.7.0.ebuild b/dev-util/hipcc/hipcc-5.7.0.ebuild
deleted file mode 100644
index 062d629e1a4c..000000000000
--- a/dev-util/hipcc/hipcc-5.7.0.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-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}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2023-10-19 16:01 罗百科
  0 siblings, 0 replies; 13+ messages in thread
From: 罗百科 @ 2023-10-19 16:01 UTC (permalink / raw
  To: gentoo-commits

commit:     7fa9ef0f17dade035e2a823dd1f01cac9d9c6c5b
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 16:00:22 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 16:01:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fa9ef0f

dev-util/hipcc: Block older hip

Package was split out from hip, avoid file collisions

Closes: https://bugs.gentoo.org/916005
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-util/hipcc/hipcc-5.7.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-util/hipcc/hipcc-5.7.1.ebuild b/dev-util/hipcc/hipcc-5.7.1.ebuild
index 062d629e1a4c..14725bbfa1db 100644
--- a/dev-util/hipcc/hipcc-5.7.1.ebuild
+++ b/dev-util/hipcc/hipcc-5.7.1.ebuild
@@ -17,3 +17,5 @@ IUSE="debug test"
 RESTRICT="!test? ( test )"
 
 S=${WORKDIR}/HIPCC-rocm-${PV}
+
+DEPEND="!!<dev-util/hip-5.7"


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2023-10-19 16:17 罗百科
  0 siblings, 0 replies; 13+ messages in thread
From: 罗百科 @ 2023-10-19 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     11d17998eb6945e311ed0163ce0a247b92c1e831
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 16:17:07 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 16:17:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11d17998

dev-util/hipcc: Fix blocker

Bug: https://bugs.gentoo.org/916005
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-util/hipcc/hipcc-5.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/hipcc/hipcc-5.7.1.ebuild b/dev-util/hipcc/hipcc-5.7.1.ebuild
index 14725bbfa1db..71fbdc1e5def 100644
--- a/dev-util/hipcc/hipcc-5.7.1.ebuild
+++ b/dev-util/hipcc/hipcc-5.7.1.ebuild
@@ -18,4 +18,4 @@ RESTRICT="!test? ( test )"
 
 S=${WORKDIR}/HIPCC-rocm-${PV}
 
-DEPEND="!!<dev-util/hip-5.7"
+RDEPEND="!<dev-util/hip-5.7"


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2023-10-30  9:22 罗百科
  0 siblings, 0 replies; 13+ messages in thread
From: 罗百科 @ 2023-10-30  9:22 UTC (permalink / raw
  To: gentoo-commits

commit:     5c54ff971572e56afd6c3f317bf2bbe0a7c01297
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 30 09:21:31 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Oct 30 09:22:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c54ff97

dev-util/hipcc: Fix paths

Crude hack to make the autodetection not go horribly wrong.

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-util/hipcc/hipcc-5.7.1-r1.ebuild | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/dev-util/hipcc/hipcc-5.7.1-r1.ebuild b/dev-util/hipcc/hipcc-5.7.1-r1.ebuild
new file mode 100644
index 000000000000..78f9a80f3561
--- /dev/null
+++ b/dev-util/hipcc/hipcc-5.7.1-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+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}
+
+RDEPEND="!<dev-util/hip-5.7"
+
+src_prepare() {
+	# hardcoded paths are wrong
+	sed -i -e 's~$ROCM_PATH/llvm/bin~/usr/lib/llvm/17/bin~' bin/hipvars.pm || die
+	cmake_src_prepare
+}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2023-11-19 11:30 罗百科
  0 siblings, 0 replies; 13+ messages in thread
From: 罗百科 @ 2023-11-19 11:30 UTC (permalink / raw
  To: gentoo-commits

commit:     d555a7a2046ef59a01ae06c8047a113fff5de936
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 06:26:36 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 11:30:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d555a7a2

dev-util/hipcc: Force rebuild with revbump

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-util/hipcc/{hipcc-5.7.1-r2.ebuild => hipcc-5.7.1-r3.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-util/hipcc/hipcc-5.7.1-r2.ebuild b/dev-util/hipcc/hipcc-5.7.1-r3.ebuild
similarity index 100%
rename from dev-util/hipcc/hipcc-5.7.1-r2.ebuild
rename to dev-util/hipcc/hipcc-5.7.1-r3.ebuild


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2023-11-19 13:09 罗百科
  0 siblings, 0 replies; 13+ messages in thread
From: 罗百科 @ 2023-11-19 13:09 UTC (permalink / raw
  To: gentoo-commits

commit:     affb7516ad089e610cc02a11f894ac458361503b
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 13:09:17 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 13:09:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=affb7516

dev-util/hipcc: Make implicit llvm dep explicit

Avoids accidental build failures

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-util/hipcc/hipcc-5.7.1-r3.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-util/hipcc/hipcc-5.7.1-r3.ebuild b/dev-util/hipcc/hipcc-5.7.1-r3.ebuild
index 180354c8673c..90e3186ba999 100644
--- a/dev-util/hipcc/hipcc-5.7.1-r3.ebuild
+++ b/dev-util/hipcc/hipcc-5.7.1-r3.ebuild
@@ -20,7 +20,11 @@ RESTRICT="!test? ( test )"
 
 S=${WORKDIR}/HIPCC-rocm-${PV}
 
-RDEPEND="!<dev-util/hip-5.7"
+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"


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2023-12-23 10:43 罗百科
  0 siblings, 0 replies; 13+ messages in thread
From: 罗百科 @ 2023-12-23 10:43 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2024-01-07 15:39 罗百科
  0 siblings, 0 replies; 13+ messages in thread
From: 罗百科 @ 2024-01-07 15:39 UTC (permalink / raw
  To: gentoo-commits

commit:     4846734865b7e3f405ba653d3d61024a90178e99
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 15:38:43 2024 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 15:39:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48467348

dev-util/hipcc: Fix invalid path

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-util/hipcc/hipcc-6.0.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
 }
 


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2024-06-26  9:21 Sam James
  0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2024-06-26  9:21 UTC (permalink / raw
  To: gentoo-commits

commit:     5e1ab31b3e0fbc58dde47a504ed014b7efa4a7e8
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Tue Jun 25 20:48:34 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 09:19:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e1ab31b

dev-util/hipcc: 6.1.1 drop dev-libs/rocm-device-libs dependency

Drop dependency on dev-libs/rocm-device-libs, as this is specific to the AMD
runtime and not won't work with CUDA.

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/hipcc/hipcc-6.1.1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-util/hipcc/hipcc-6.1.1.ebuild b/dev-util/hipcc/hipcc-6.1.1.ebuild
index f19bcf3413b1..87a19b598953 100644
--- a/dev-util/hipcc/hipcc-6.1.1.ebuild
+++ b/dev-util/hipcc/hipcc-6.1.1.ebuild
@@ -34,7 +34,6 @@ DEPEND="
 	')
 "
 RDEPEND="${DEPEND}
-	>=dev-libs/rocm-device-libs-6.1.1
 	!<dev-util/hip-5.7"
 
 PATCHES=(


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2024-07-28  8:04 Patrick Lauer
  0 siblings, 0 replies; 13+ messages in thread
From: Patrick Lauer @ 2024-07-28  8:04 UTC (permalink / raw
  To: gentoo-commits

commit:     dc83eeab0c37b9cc7addf4406f35a952a72b8f12
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 08:03:18 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 08:03:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc83eeab

dev-util/hipcc: add 6.1.2

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-util/hipcc/Manifest           |  1 +
 dev-util/hipcc/hipcc-6.1.2.ebuild | 83 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/dev-util/hipcc/Manifest b/dev-util/hipcc/Manifest
index b1cc4eb922ff..86afc23fe843 100644
--- a/dev-util/hipcc/Manifest
+++ b/dev-util/hipcc/Manifest
@@ -1,2 +1,3 @@
 DIST hipcc-5.7.1.tar.gz 36589 BLAKE2B a8ae6bd9f0f985d78119223b67b5b35b8d1ee38edb7e43c1e77752d203fe2c8b669b3bcff0cec661054d8cb24f799e7784a49eb0664bdd1dc2bf024ce026c175 SHA512 2d232c8dd4a47de6e0cff9d37b4e63a26cb1809ef2ff3a119c15e992cae96ffc2f4d8c1ddffd8732dea3a3d589a93e177f424a6174f982908aa50904e265432a
 DIST llvm-project-rocm-6.1.1.tar.gz 196027084 BLAKE2B 3ef0b6e3c47c66fd80289373e6ff8aaff44751f9b380addfae73a18dc388093c0535f230b0cc7528724bc43f6992e2ae6decd3d0d3c700893ca95a6166b7b8dc SHA512 e320d4eeaa6f61ed1cdbf653d67fe887d3ce9dc0d6743b4713502e1cb5318ab8afbe1ee71f8cba07635c54ce532df6683de40ade0e5be4a52e50ce25a9b70818
+DIST llvm-project-rocm-6.1.2.tar.gz 195992927 BLAKE2B d821f29f2f1f7c1ff414c63a710281f16d2a394b21f3365d01b86710cc09ed27e514b49fb744bf6a36b38815afa56cc26d44f0238f38479a0c2db9bf9989f389 SHA512 5f7e5dbe5976141de35e96e603624bd9d5a2c08b0690ba9fcd81d1b32f540f94bb9f4b74539e2838fd60ae1312dbe5e0b429ba80a03871782cdf3bd834940ce0

diff --git a/dev-util/hipcc/hipcc-6.1.2.ebuild b/dev-util/hipcc/hipcc-6.1.2.ebuild
new file mode 100644
index 000000000000..87a19b598953
--- /dev/null
+++ b/dev-util/hipcc/hipcc-6.1.2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( 18 )
+inherit cmake perl-functions llvm-r1
+
+DESCRIPTION="Radeon Open Compute hipcc"
+HOMEPAGE="https://github.com/ROCm/hipcc"
+
+MY_P=llvm-project-rocm-${PV}
+components=( "amd/hipcc" )
+if [[ ${PV} == *9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/ROCm/llvm-project"
+	inherit git-r3
+	S="${WORKDIR}/${P}/${components[0]}"
+else
+	SRC_URI="https://github.com/ROCm/llvm-project/archive/rocm-${PV}.tar.gz -> ${MY_P}.tar.gz"
+	S="${WORKDIR}/${MY_P}/${components[0]}"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0/$(ver_cut 1-2)"
+IUSE="debug test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	$(llvm_gen_dep '
+		sys-libs/compiler-rt:${LLVM_SLOT}=
+		sys-devel/llvm:${LLVM_SLOT}=
+		sys-devel/clang:${LLVM_SLOT}=
+	')
+"
+RDEPEND="${DEPEND}
+	!<dev-util/hip-5.7"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-5.7.1-hipcc-hip-version.patch"
+)
+
+src_unpack() {
+	if [[ ${PV} == *9999 ]] ; then
+		git-r3_fetch
+		git-r3_checkout '' . '' "${components[@]}"
+	else
+		archive="${MY_P}.tar.gz"
+		ebegin "Unpacking from ${archive}"
+		tar -x -z -o \
+			-f "${DISTDIR}/${archive}" \
+			"${components[@]/#/${MY_P}/}" || die
+		eend ${?}
+	fi
+}
+
+src_prepare() {
+	cmake_src_prepare
+
+	sed -e "s:\$ROCM_PATH/llvm/bin:$(get_llvm_prefix)/bin:" \
+		-e "s:/opt/rocm:/usr:" \
+		-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
+
+	# With Clang>17 -amdgpu-early-inline-all=true causes OOMs in dependencies
+	# https://github.com/llvm/llvm-project/issues/86332
+	if [ "$LLVM_SLOT" != "17" ]; then
+		sed -e "s/-mllvm -amdgpu-early-inline-all=true //g" -i bin/hipcc.pl || die
+	fi
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/
@ 2024-12-01  7:57 Patrick Lauer
  0 siblings, 0 replies; 13+ messages in thread
From: Patrick Lauer @ 2024-12-01  7:57 UTC (permalink / raw
  To: gentoo-commits

commit:     24d52b9c1e2bd647a29f9e7328448a0d72a3522b
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  1 07:55:32 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Dec  1 07:57:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d52b9c

dev-util/hipcc: add 6.2.4

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-util/hipcc/Manifest           |  1 +
 dev-util/hipcc/hipcc-6.2.4.ebuild | 84 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+)

diff --git a/dev-util/hipcc/Manifest b/dev-util/hipcc/Manifest
index 86afc23fe843..7fb7607d6de7 100644
--- a/dev-util/hipcc/Manifest
+++ b/dev-util/hipcc/Manifest
@@ -1,3 +1,4 @@
 DIST hipcc-5.7.1.tar.gz 36589 BLAKE2B a8ae6bd9f0f985d78119223b67b5b35b8d1ee38edb7e43c1e77752d203fe2c8b669b3bcff0cec661054d8cb24f799e7784a49eb0664bdd1dc2bf024ce026c175 SHA512 2d232c8dd4a47de6e0cff9d37b4e63a26cb1809ef2ff3a119c15e992cae96ffc2f4d8c1ddffd8732dea3a3d589a93e177f424a6174f982908aa50904e265432a
 DIST llvm-project-rocm-6.1.1.tar.gz 196027084 BLAKE2B 3ef0b6e3c47c66fd80289373e6ff8aaff44751f9b380addfae73a18dc388093c0535f230b0cc7528724bc43f6992e2ae6decd3d0d3c700893ca95a6166b7b8dc SHA512 e320d4eeaa6f61ed1cdbf653d67fe887d3ce9dc0d6743b4713502e1cb5318ab8afbe1ee71f8cba07635c54ce532df6683de40ade0e5be4a52e50ce25a9b70818
 DIST llvm-project-rocm-6.1.2.tar.gz 195992927 BLAKE2B d821f29f2f1f7c1ff414c63a710281f16d2a394b21f3365d01b86710cc09ed27e514b49fb744bf6a36b38815afa56cc26d44f0238f38479a0c2db9bf9989f389 SHA512 5f7e5dbe5976141de35e96e603624bd9d5a2c08b0690ba9fcd81d1b32f540f94bb9f4b74539e2838fd60ae1312dbe5e0b429ba80a03871782cdf3bd834940ce0
+DIST llvm-project-rocm-6.2.4.tar.gz 206742705 BLAKE2B e4d40c900b56a3d31003295c517fcb8fdc5cb0954f298d541d545c6d142746eecfa70a44bfdcb9044d70284f15af612c27dbd55d51e94e638e03bf21c1d3bc06 SHA512 5c5784c318c607168c9d2227ce1150e92fdc6aa457a9e64d62745a70f6fce92c4d4b1202422940f1ccc37a4bccf1efb220d8be39ec2ffdba7591d17e54ec8a5f

diff --git a/dev-util/hipcc/hipcc-6.2.4.ebuild b/dev-util/hipcc/hipcc-6.2.4.ebuild
new file mode 100644
index 000000000000..cba0c14204fc
--- /dev/null
+++ b/dev-util/hipcc/hipcc-6.2.4.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( 18 )
+inherit cmake perl-functions llvm-r1
+
+DESCRIPTION="Radeon Open Compute hipcc"
+HOMEPAGE="https://github.com/ROCm/hipcc"
+
+MY_P=llvm-project-rocm-${PV}
+components=( "amd/hipcc" )
+if [[ ${PV} == *9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/ROCm/llvm-project"
+	inherit git-r3
+	S="${WORKDIR}/${P}/${components[0]}"
+else
+	SRC_URI="https://github.com/ROCm/llvm-project/archive/rocm-${PV}.tar.gz -> ${MY_P}.tar.gz"
+	S="${WORKDIR}/${MY_P}/${components[0]}"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0/$(ver_cut 1-2)"
+IUSE="debug test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	$(llvm_gen_dep '
+		sys-libs/compiler-rt:${LLVM_SLOT}=
+		sys-devel/llvm:${LLVM_SLOT}=
+		sys-devel/clang:${LLVM_SLOT}=
+	')
+"
+RDEPEND="${DEPEND}
+	!<dev-util/hip-5.7"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-5.7.1-hipcc-hip-version.patch"
+)
+
+src_unpack() {
+	if [[ ${PV} == *9999 ]] ; then
+		git-r3_fetch
+		git-r3_checkout '' . '' "${components[@]}"
+	else
+		archive="${MY_P}.tar.gz"
+		ebegin "Unpacking from ${archive}"
+		tar -x -z -o \
+			-f "${DISTDIR}/${archive}" \
+			"${components[@]/#/${MY_P}/}" || die
+		eend ${?}
+	fi
+}
+
+src_prepare() {
+	cmake_src_prepare
+
+	sed -e "s:\$ROCM_PATH/llvm/bin:$(get_llvm_prefix)/bin:" \
+		-e "s:/opt/rocm:/usr:" \
+		-e "s:$ROCM_PATH/lib/llvm/bin:$ROCM_PATH/lib64/llvm/18/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
+
+	# With Clang>17 -amdgpu-early-inline-all=true causes OOMs in dependencies
+	# https://github.com/llvm/llvm-project/issues/86332
+	if [ "$LLVM_SLOT" != "17" ]; then
+		sed -e "s/-mllvm -amdgpu-early-inline-all=true //g" -i bin/hipcc.pl || die
+	fi
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-12-01  7:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-01  7:57 [gentoo-commits] repo/gentoo:master commit in: dev-util/hipcc/ Patrick Lauer
  -- strict thread matches above, loose matches on Subject: below --
2024-07-28  8:04 Patrick Lauer
2024-06-26  9:21 Sam James
2024-01-07 15:39 罗百科
2023-12-23 10:43 罗百科
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 罗百科

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox