* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2021-08-13 8:08 Benda XU
0 siblings, 0 replies; 13+ messages in thread
From: Benda XU @ 2021-08-13 8:08 UTC (permalink / raw
To: gentoo-commits
commit: 2ccc0ca201ff2eeea88171653ebad5dd6817bd3d
Author: YiyangWu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Fri Aug 13 07:34:41 2021 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri Aug 13 08:06:34 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ccc0ca2
dev-util/roctracer: bump version to 4.2
fix the missing dependency of dev-util/hip-4.2:
https://qa-reports.gentoo.org/output/gentoo-ci/222df9ee45/output.html#dev-util/hip
Bug: https://github.com/gentoo/gentoo/pull/21655
Closes: https://github.com/gentoo/gentoo/pull/21973
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
dev-util/roctracer/Manifest | 2 +
dev-util/roctracer/roctracer-4.2.0.ebuild | 61 +++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/dev-util/roctracer/Manifest b/dev-util/roctracer/Manifest
index d6046052c24..189cdd49ff3 100644
--- a/dev-util/roctracer/Manifest
+++ b/dev-util/roctracer/Manifest
@@ -1 +1,3 @@
DIST rocm-tracer-4.0.0.tar.gz 462166 BLAKE2B 1294b5639a743a9d32737c72dc0f082b5a33ee1b3365f48221ad6392cdde7637926c42ea344fa96e9fc8410ea04e9ce3f535e188a25130f4be764c4d4a59b69c SHA512 312cd6c4c98a83e28a9f8b9e6123862af2e80a0d0852acff11be65d198f277c6ea194e72f6dbaccab1dd5d4af318bef28ca546e49440f22d024a546a4e5e9e15
+DIST rocm-tracer-4.2.0.tar.gz 476974 BLAKE2B 3a7be9c269fec5dcca98d7de514d97a2e1de7bbfaa54a1aca2df70453d05326564c8ee7bf793c7d176069ecd3f7f91409c6a20dd0773aa157f7abc1dac41448e SHA512 002d9fccee4761af4853e589b116bc5844b98abb84517c260aedcb5f31f5c92b862a233062ec280a6f878343c4f751d55f47fd38483e1882feb8c970f9836120
+DIST rocprofiler-4.2.0.tar.gz 1408433 BLAKE2B b35a7710d680167bad78ff74be153ea994ea919d572c5091ecec73d614bebb7ec14a14d81a0cabbe514b8439ddd7225f1a3a3fa7a0b653c33f938568bbe0c593 SHA512 35d3e9648bc5ee60bbddc15c9675efba7de3b4b3b725b9623e71a83007b8f23a323cc1da82e67f0ff425e5f827d6c632435bf465be8cba8c775405ead3f0f3be
diff --git a/dev-util/roctracer/roctracer-4.2.0.ebuild b/dev-util/roctracer/roctracer-4.2.0.ebuild
new file mode 100644
index 00000000000..2a61dee24cb
--- /dev/null
+++ b/dev-util/roctracer/roctracer-4.2.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9} )
+
+inherit cmake prefix python-any-r1
+
+DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's"
+HOMEPAGE="https://github.com/ROCm-Developer-Tools/roctracer.git"
+SRC_URI="https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-${PV}.tar.gz -> rocm-tracer-${PV}.tar.gz
+ https://github.com/ROCm-Developer-Tools/rocprofiler/archive/rocm-${PV}.tar.gz -> rocprofiler-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/rocr-runtime:${SLOT}
+ dev-util/hip:${SLOT}"
+DEPEND="dev-python/CppHeaderParser
+ dev-python/ply
+ ${RDEPEND}"
+
+S="${WORKDIR}/roctracer-rocm-${PV}"
+
+src_prepare() {
+ mv "${WORKDIR}"/rocprofiler-rocm-${PV} "${WORKDIR}"/rocprofiler || die
+
+ # do not build the tool and it´s library;
+ # change destination for headers to include/roctracer;
+ # do not install a second set of header files;
+
+ sed -e "/LIBRARY DESTINATION/s,lib,$(get_libdir)," \
+ -e "/add_subdirectory ( \${TEST_DIR} \${PROJECT_BINARY_DIR}/d" \
+ -e "/DESTINATION/s,\${DEST_NAME}/include,include/roctracer," \
+ -e "/install ( FILES \${PROJECT_BINARY_DIR}/d" \
+ -e "/DESTINATION/s,\${DEST_NAME}/lib64,$(get_libdir)/roctracer,g" \
+ -i CMakeLists.txt || die
+
+ # do not download additional sources via git
+ sed -e "/execute_process ( COMMAND sh -xc \"if/d" \
+ -e "/add_subdirectory ( \${HSA_TEST_DIR} \${PROJECT_BINARY_DIR}/d" \
+ -i test/CMakeLists.txt || die
+
+ hprefixify script/*.py
+
+ eapply_user
+ cmake_src_prepare
+}
+
+src_configure() {
+ export HIP_PATH="${EPREFIX}/usr/lib/hip"
+
+ local mycmakeargs=(
+ -DHIP_VDI=1
+ -DCMAKE_PREFIX_PATH="${EPREFIX}/usr/include/hsa:${EPREFIX}/usr/lib"
+ )
+
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2021-08-26 12:39 Benda XU
0 siblings, 0 replies; 13+ messages in thread
From: Benda XU @ 2021-08-26 12:39 UTC (permalink / raw
To: gentoo-commits
commit: d63500054274a64fc14c8a99d48d704ddb445100
Author: YiyangWu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Thu Aug 19 14:36:21 2021 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Aug 26 12:39:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6350005
dev-util/roctracer: bump version to 4.3.0
Use python-any-r1 to ensure dev-python/CppHeaderParser
and dev-python/ply BDEPEND
Closes: https://github.com/gentoo/gentoo/pull/22035
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
dev-util/roctracer/Manifest | 2 +
dev-util/roctracer/roctracer-4.3.0.ebuild | 70 +++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
diff --git a/dev-util/roctracer/Manifest b/dev-util/roctracer/Manifest
index 189cdd49ff3..c0dab991cdd 100644
--- a/dev-util/roctracer/Manifest
+++ b/dev-util/roctracer/Manifest
@@ -1,3 +1,5 @@
DIST rocm-tracer-4.0.0.tar.gz 462166 BLAKE2B 1294b5639a743a9d32737c72dc0f082b5a33ee1b3365f48221ad6392cdde7637926c42ea344fa96e9fc8410ea04e9ce3f535e188a25130f4be764c4d4a59b69c SHA512 312cd6c4c98a83e28a9f8b9e6123862af2e80a0d0852acff11be65d198f277c6ea194e72f6dbaccab1dd5d4af318bef28ca546e49440f22d024a546a4e5e9e15
DIST rocm-tracer-4.2.0.tar.gz 476974 BLAKE2B 3a7be9c269fec5dcca98d7de514d97a2e1de7bbfaa54a1aca2df70453d05326564c8ee7bf793c7d176069ecd3f7f91409c6a20dd0773aa157f7abc1dac41448e SHA512 002d9fccee4761af4853e589b116bc5844b98abb84517c260aedcb5f31f5c92b862a233062ec280a6f878343c4f751d55f47fd38483e1882feb8c970f9836120
+DIST rocm-tracer-4.3.0.tar.gz 477647 BLAKE2B d597df2efef0c750637c8f509b89ad62927cb839ba7c9a42fa71882ee13d4a0bba295af19b02eda5310421e53187e9a98a76777f0d3a587e7e652ecf4c10cb6a SHA512 47ea2705a361cb863f33a9f4c1a7d5005bb679221fa95f14dd5404ef5af32377bad5c7d9807e2fff8030a9c26ac4230f2bab833344ef49ecebbd5653f0edfc2c
DIST rocprofiler-4.2.0.tar.gz 1408433 BLAKE2B b35a7710d680167bad78ff74be153ea994ea919d572c5091ecec73d614bebb7ec14a14d81a0cabbe514b8439ddd7225f1a3a3fa7a0b653c33f938568bbe0c593 SHA512 35d3e9648bc5ee60bbddc15c9675efba7de3b4b3b725b9623e71a83007b8f23a323cc1da82e67f0ff425e5f827d6c632435bf465be8cba8c775405ead3f0f3be
+DIST rocprofiler-4.3.0.tar.gz 1402250 BLAKE2B 3826c3b26b0d5838ab3475614c2ecd2265e177fe40b8a90abb491746513bd50841e5ceb34d1fcb4bcb2fbe8a6854b9715d0670d38f08775e5e14cd855f15629b SHA512 e327146604459f2f827ab943a21d0eaa0ee41cf6770ab94dd019d461cf6438e70a48139ce67ec1553d0f450fa5bb233a7ed39438e8bf39b33218d53e2c270d3b
diff --git a/dev-util/roctracer/roctracer-4.3.0.ebuild b/dev-util/roctracer/roctracer-4.3.0.ebuild
new file mode 100644
index 00000000000..19a0adee967
--- /dev/null
+++ b/dev-util/roctracer/roctracer-4.3.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9} )
+
+inherit cmake prefix python-any-r1
+
+DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's"
+HOMEPAGE="https://github.com/ROCm-Developer-Tools/roctracer.git"
+SRC_URI="https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-${PV}.tar.gz -> rocm-tracer-${PV}.tar.gz
+ https://github.com/ROCm-Developer-Tools/rocprofiler/archive/rocm-${PV}.tar.gz -> rocprofiler-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/rocr-runtime:${SLOT}
+ dev-util/hip:${SLOT}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ $(python_gen_any_dep '
+ dev-python/CppHeaderParser[${PYTHON_USEDEP}]
+ dev-python/ply[${PYTHON_USEDEP}]
+ ')
+"
+
+python_check_deps() {
+ has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" &&
+ has_version "dev-python/ply[${PYTHON_USEDEP}]"
+}
+
+S="${WORKDIR}/roctracer-rocm-${PV}"
+
+src_prepare() {
+ mv "${WORKDIR}"/rocprofiler-rocm-${PV} "${WORKDIR}"/rocprofiler || die
+
+ # do not build the tool and it´s library;
+ # change destination for headers to include/roctracer;
+ # do not install a second set of header files;
+
+ sed -e "/LIBRARY DESTINATION/s,lib,$(get_libdir)," \
+ -e "/add_subdirectory ( \${TEST_DIR} \${PROJECT_BINARY_DIR}/d" \
+ -e "/DESTINATION/s,\${DEST_NAME}/include,include/roctracer," \
+ -e "/install ( FILES \${PROJECT_BINARY_DIR}/d" \
+ -e "/DESTINATION/s,\${DEST_NAME}/lib64,$(get_libdir)/roctracer,g" \
+ -i CMakeLists.txt || die
+
+ # do not download additional sources via git
+ sed -e "/execute_process ( COMMAND sh -xc \"if/d" \
+ -e "/add_subdirectory ( \${HSA_TEST_DIR} \${PROJECT_BINARY_DIR}/d" \
+ -i test/CMakeLists.txt || die
+
+ hprefixify script/*.py
+
+ eapply_user
+ cmake_src_prepare
+}
+
+src_configure() {
+ export HIP_PATH="${EPREFIX}/usr/lib/hip"
+
+ local mycmakeargs=(
+ -DHIP_VDI=1
+ -DCMAKE_PREFIX_PATH="${EPREFIX}/usr/include/hsa:${EPREFIX}/usr/lib"
+ )
+
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2022-01-30 8:07 Jason Zaman
0 siblings, 0 replies; 13+ messages in thread
From: Jason Zaman @ 2022-01-30 8:07 UTC (permalink / raw
To: gentoo-commits
commit: 8445d3adc3d4431e7fa99ce8be29dd61530e9a0a
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 30 08:06:03 2022 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Jan 30 08:07:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8445d3ad
dev-util/roctracer: Install _ostream_ops headers
Closes: https://bugs.gentoo.org/832173
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
.../roctracer/{roctracer-4.3.0.ebuild => roctracer-4.3.0-r1.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-util/roctracer/roctracer-4.3.0.ebuild b/dev-util/roctracer/roctracer-4.3.0-r1.ebuild
similarity index 95%
rename from dev-util/roctracer/roctracer-4.3.0.ebuild
rename to dev-util/roctracer/roctracer-4.3.0-r1.ebuild
index 35092c81a554..5b0d3c3f5b5d 100644
--- a/dev-util/roctracer/roctracer-4.3.0.ebuild
+++ b/dev-util/roctracer/roctracer-4.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -47,7 +47,7 @@ src_prepare() {
sed -e "/LIBRARY DESTINATION/s,lib,$(get_libdir)," \
-e "/add_subdirectory ( \${TEST_DIR} \${PROJECT_BINARY_DIR}/d" \
-e "/DESTINATION/s,\${DEST_NAME}/include,include/roctracer," \
- -e "/install ( FILES \${PROJECT_BINARY_DIR}/d" \
+ -e "/install ( FILES \${PROJECT_BINARY_DIR}\/so/d" \
-e "/DESTINATION/s,\${DEST_NAME}/lib64,$(get_libdir)/roctracer,g" \
-i CMakeLists.txt || die
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2022-02-13 21:08 Conrad Kostecki
0 siblings, 0 replies; 13+ messages in thread
From: Conrad Kostecki @ 2022-02-13 21:08 UTC (permalink / raw
To: gentoo-commits
commit: 0d6b9eb568f579d5e954619bb093db4c471096f7
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 20:45:32 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 21:07:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d6b9eb5
dev-util/roctracer: fix ci 'PythonMissingDeps'
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../{roctracer-4.2.0.ebuild => roctracer-4.2.0-r1.ebuild} | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-util/roctracer/roctracer-4.2.0.ebuild b/dev-util/roctracer/roctracer-4.2.0-r1.ebuild
similarity index 96%
rename from dev-util/roctracer/roctracer-4.2.0.ebuild
rename to dev-util/roctracer/roctracer-4.2.0-r1.ebuild
index 2a61dee24cb5..37aa6688e7ff 100644
--- a/dev-util/roctracer/roctracer-4.2.0.ebuild
+++ b/dev-util/roctracer/roctracer-4.2.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,6 +11,7 @@ DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's"
HOMEPAGE="https://github.com/ROCm-Developer-Tools/roctracer.git"
SRC_URI="https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-${PV}.tar.gz -> rocm-tracer-${PV}.tar.gz
https://github.com/ROCm-Developer-Tools/rocprofiler/archive/rocm-${PV}.tar.gz -> rocprofiler-${PV}.tar.gz"
+S="${WORKDIR}/roctracer-rocm-${PV}"
LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
@@ -20,9 +21,8 @@ RDEPEND="dev-libs/rocr-runtime:${SLOT}
dev-util/hip:${SLOT}"
DEPEND="dev-python/CppHeaderParser
dev-python/ply
- ${RDEPEND}"
-
-S="${WORKDIR}/roctracer-rocm-${PV}"
+ ${RDEPEND}
+ ${PYTHON_DEPS}"
src_prepare() {
mv "${WORKDIR}"/rocprofiler-rocm-${PV} "${WORKDIR}"/rocprofiler || die
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2022-06-22 18:35 Andrew Ammerlaan
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2022-06-22 18:35 UTC (permalink / raw
To: gentoo-commits
commit: 5d65faf4ae83984420178492b53ff78fb4ad9b8a
Author: Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Wed Jun 22 13:02:53 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 18:35:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d65faf4
dev-util/roctracer-4.3.0: fix wrong SRC_URI
Reported-by: Andrew Ammerlaan
Reference: https://github.com/gentoo/gentoo/pull/25891#issuecomment-1161567616
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-util/roctracer/Manifest | 1 -
dev-util/roctracer/roctracer-4.3.0-r2.ebuild | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dev-util/roctracer/Manifest b/dev-util/roctracer/Manifest
index ff14bd213a4e..1240ce5001e4 100644
--- a/dev-util/roctracer/Manifest
+++ b/dev-util/roctracer/Manifest
@@ -1,4 +1,3 @@
-DIST hsa-class-4.3.0.tar.gz 37431 BLAKE2B 6fa2eb327256c44e0b9af3f0eabc775059d0e37ea976be155d4c6f05c73489abbf3abda20683c3ca4c720c2e6899c690d2a104decb56f80a8f76dde0a1cc08ef SHA512 4d0c554f6ecc66495d9493df39cc7a00c2912c93285146e891efa6b636b2b44ba9b6447fada5e664fce3329abd2670333e61cc2978e9e4f5973e99d165a93131
DIST hsa-class-f8b3870.tar.gz 37432 BLAKE2B c2a09e4a4c3708e8db432378874c63b9cefefb567ad19a9c17181ed2b60f38d0591a618f72b11f606eb44efc5e170adaf72f0ec1b93cde628ca2230a62e2d6de SHA512 f371a955bf59b7e0af07261981a6e68562fad0753d3f39d1e220034c17501abf839ed2fd88fbf376d659970395c8795a82c0560c7ed8d3b87c11c79864f5f612
DIST rocm-tracer-4.0.0.tar.gz 462166 BLAKE2B 1294b5639a743a9d32737c72dc0f082b5a33ee1b3365f48221ad6392cdde7637926c42ea344fa96e9fc8410ea04e9ce3f535e188a25130f4be764c4d4a59b69c SHA512 312cd6c4c98a83e28a9f8b9e6123862af2e80a0d0852acff11be65d198f277c6ea194e72f6dbaccab1dd5d4af318bef28ca546e49440f22d024a546a4e5e9e15
DIST rocm-tracer-4.2.0.tar.gz 476974 BLAKE2B 3a7be9c269fec5dcca98d7de514d97a2e1de7bbfaa54a1aca2df70453d05326564c8ee7bf793c7d176069ecd3f7f91409c6a20dd0773aa157f7abc1dac41448e SHA512 002d9fccee4761af4853e589b116bc5844b98abb84517c260aedcb5f31f5c92b862a233062ec280a6f878343c4f751d55f47fd38483e1882feb8c970f9836120
diff --git a/dev-util/roctracer/roctracer-4.3.0-r2.ebuild b/dev-util/roctracer/roctracer-4.3.0-r2.ebuild
index 1daabb2c9bc6..88fb2b6669fb 100644
--- a/dev-util/roctracer/roctracer-4.3.0-r2.ebuild
+++ b/dev-util/roctracer/roctracer-4.3.0-r2.ebuild
@@ -11,7 +11,7 @@ DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's"
HOMEPAGE="https://github.com/ROCm-Developer-Tools/roctracer.git"
SRC_URI="https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-${PV}.tar.gz -> rocm-tracer-${PV}.tar.gz
https://github.com/ROCm-Developer-Tools/rocprofiler/archive/rocm-${PV}.tar.gz -> rocprofiler-${PV}.tar.gz
- https://github.com/ROCmSoftwarePlatform/hsa-class/archive/master.tar.gz -> hsa-class-${PV}.tar.gz"
+ https://github.com/ROCmSoftwarePlatform/hsa-class/archive/f8b387043b9f510afdf2e72e38a011900360d6ab.tar.gz -> hsa-class-f8b3870.tar.gz"
S="${WORKDIR}/roctracer-rocm-${PV}"
LICENSE="MIT"
@@ -41,7 +41,7 @@ python_check_deps() {
src_prepare() {
mv "${WORKDIR}"/rocprofiler-rocm-${PV} "${WORKDIR}"/rocprofiler || die
- mv "${WORKDIR}"/ROCmSoftwarePlatform-hsa-class*/test/util "${S}"/inc/ || die
+ mv "${WORKDIR}"/hsa-class-*/test/util "${S}"/inc/ || die
rm "${S}"/inc/util/hsa* || die
cp -a "${S}"/src/util/hsa* "${S}"/inc/util/ || die
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2022-08-06 14:23 Benda XU
0 siblings, 0 replies; 13+ messages in thread
From: Benda XU @ 2022-08-06 14:23 UTC (permalink / raw
To: gentoo-commits
commit: 7f7f4deddce2b384f6400ca230be074347e8698e
Author: Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Thu Aug 4 14:59:21 2022 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Aug 6 14:22:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7f4ded
dev-util/roctracer: add 5.1.3
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
dev-util/roctracer/Manifest | 2 +
dev-util/roctracer/roctracer-5.1.3.ebuild | 77 +++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/dev-util/roctracer/Manifest b/dev-util/roctracer/Manifest
index 1240ce5001e4..2a1578462cf0 100644
--- a/dev-util/roctracer/Manifest
+++ b/dev-util/roctracer/Manifest
@@ -3,6 +3,8 @@ DIST rocm-tracer-4.0.0.tar.gz 462166 BLAKE2B 1294b5639a743a9d32737c72dc0f082b5a3
DIST rocm-tracer-4.2.0.tar.gz 476974 BLAKE2B 3a7be9c269fec5dcca98d7de514d97a2e1de7bbfaa54a1aca2df70453d05326564c8ee7bf793c7d176069ecd3f7f91409c6a20dd0773aa157f7abc1dac41448e SHA512 002d9fccee4761af4853e589b116bc5844b98abb84517c260aedcb5f31f5c92b862a233062ec280a6f878343c4f751d55f47fd38483e1882feb8c970f9836120
DIST rocm-tracer-4.3.0.tar.gz 477647 BLAKE2B d597df2efef0c750637c8f509b89ad62927cb839ba7c9a42fa71882ee13d4a0bba295af19b02eda5310421e53187e9a98a76777f0d3a587e7e652ecf4c10cb6a SHA512 47ea2705a361cb863f33a9f4c1a7d5005bb679221fa95f14dd5404ef5af32377bad5c7d9807e2fff8030a9c26ac4230f2bab833344ef49ecebbd5653f0edfc2c
DIST rocm-tracer-5.0.2.tar.gz 474669 BLAKE2B b350111590140e1282338e4f134caf6228677c49361ceb9bc7ba0da8709346daa4fd014644c04adff0e903dba6014a84edd2eb3a5c132a8f91b479e4d5b085e5 SHA512 3fc1449cc9c9bf83e5233a7a0e83c0e3fa9da225d5ee4427b7d6fa15e3580497e1b9fbcd63892e4a99df01582aecd3ccfd66d2a19af2d8c25949ee705894ea44
+DIST rocm-tracer-5.1.3.tar.gz 511617 BLAKE2B 4142979b3b7d649798a7ac0b2a04b42aa7fbcbf82f2cf51b0e5363ec0da538046d6e59283d0ce1bfd341317bf24ac2f694d5c8a7d1f132f9b21caea5caf7eda3 SHA512 e73b0c921ffbdcac571d8b0825de39bd8a4fd5f2720ecdd0c189951db85efb607a0b1cd7a9bb02b3dbf329b277cb5e197525216a8e8927eea4e6ce290b7e7c7b
DIST rocprofiler-4.2.0.tar.gz 1408433 BLAKE2B b35a7710d680167bad78ff74be153ea994ea919d572c5091ecec73d614bebb7ec14a14d81a0cabbe514b8439ddd7225f1a3a3fa7a0b653c33f938568bbe0c593 SHA512 35d3e9648bc5ee60bbddc15c9675efba7de3b4b3b725b9623e71a83007b8f23a323cc1da82e67f0ff425e5f827d6c632435bf465be8cba8c775405ead3f0f3be
DIST rocprofiler-4.3.0.tar.gz 1402250 BLAKE2B 3826c3b26b0d5838ab3475614c2ecd2265e177fe40b8a90abb491746513bd50841e5ceb34d1fcb4bcb2fbe8a6854b9715d0670d38f08775e5e14cd855f15629b SHA512 e327146604459f2f827ab943a21d0eaa0ee41cf6770ab94dd019d461cf6438e70a48139ce67ec1553d0f450fa5bb233a7ed39438e8bf39b33218d53e2c270d3b
DIST rocprofiler-5.0.2.tar.gz 1401732 BLAKE2B ae870bc50dbd39c11e24f77ccb41773df1107b76cb7a12e1cebc66f8d66ddba6ad3bd6f9fe61657b03b22ef35f88fb608cf6070178f6aab24fe7a1bdcac43a96 SHA512 244e2b827126b7299ec0510daa5e1245a4a5a877394419f8bc9113f443231f67fc935609cbde6eeb26bb138ab4e95e2a88829ffa79ecc8f9881b5a77b5910c02
+DIST rocprofiler-5.1.3.tar.gz 1402172 BLAKE2B 16e9b127ede94a3f96056e84a2942b6c9f3aec90579fb12796ab8ba385160aa020e3dc77f7a475dadbc0a813a823ae733ca9560f6a09e55c4c82b13dd792dfa4 SHA512 6e9932a425eaaa2a1e1741280d7525c6360700f85edb3bcf4967fe9be4fed662bae0d2ba609701f0d9733769c340e93e32076024b27bab3303449c1d68d9e1ce
diff --git a/dev-util/roctracer/roctracer-5.1.3.ebuild b/dev-util/roctracer/roctracer-5.1.3.ebuild
new file mode 100644
index 000000000000..b378cfcc340d
--- /dev/null
+++ b/dev-util/roctracer/roctracer-5.1.3.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit cmake prefix python-any-r1
+
+DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's"
+HOMEPAGE="https://github.com/ROCm-Developer-Tools/roctracer.git"
+SRC_URI="https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-${PV}.tar.gz -> rocm-tracer-${PV}.tar.gz
+ https://github.com/ROCm-Developer-Tools/rocprofiler/archive/rocm-${PV}.tar.gz -> rocprofiler-${PV}.tar.gz
+ https://github.com/ROCmSoftwarePlatform/hsa-class/archive/f8b387043b9f510afdf2e72e38a011900360d6ab.tar.gz -> hsa-class-f8b3870.tar.gz"
+S="${WORKDIR}/roctracer-rocm-${PV}"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/rocr-runtime:${SLOT}
+ dev-util/hip:${SLOT}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ $(python_gen_any_dep '
+ dev-python/CppHeaderParser[${PYTHON_USEDEP}]
+ dev-python/ply[${PYTHON_USEDEP}]
+ ')
+"
+
+PATCHES=(
+ # https://github.com/ROCm-Developer-Tools/roctracer/pull/63
+ "${FILESDIR}"/${PN}-4.3.0-glibc-2.34.patch
+ "${FILESDIR}"/${PN}-5.0.2-Werror.patch
+ "${FILESDIR}"/${PN}-5.0.2-headers.patch
+ "${FILESDIR}"/${PN}-5.0.2-strip-license.patch
+)
+
+python_check_deps() {
+ has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" &&
+ has_version "dev-python/ply[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ mv "${WORKDIR}"/rocprofiler-rocm-${PV} "${WORKDIR}"/rocprofiler || die
+ mv "${WORKDIR}"/hsa-class-*/test/util "${S}"/inc/ || die
+ rm "${S}"/inc/util/hsa* || die
+ cp -a "${S}"/src/util/hsa* "${S}"/inc/util/ || die
+
+ # change destination for headers to include/roctracer;
+
+ sed -e "/LIBRARY DESTINATION/s,lib,$(get_libdir)," \
+ -e "/DESTINATION/s,\${DEST_NAME}/include,include/roctracer," \
+ -e "/install ( FILES \${PROJECT_BINARY_DIR}\/so/d" \
+ -e "/DESTINATION/s,\${DEST_NAME}/lib64,$(get_libdir),g" \
+ -i CMakeLists.txt || die
+
+ # do not download additional sources via git
+ sed -e "/execute_process ( COMMAND sh -xc \"if/d" \
+ -e "/add_subdirectory ( \${HSA_TEST_DIR} \${PROJECT_BINARY_DIR}/d" \
+ -e "/DESTINATION/s,\${DEST_NAME}/tool,$(get_libdir),g" \
+ -i test/CMakeLists.txt || die
+
+ hprefixify script/*.py
+}
+
+src_configure() {
+ export HIP_PATH="$(hipconfig -p)"
+
+ local mycmakeargs=(
+ -DCMAKE_PREFIX_PATH="${EPREFIX}/usr/include/hsa"
+ )
+
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2022-10-08 16:49 Arthur Zamarin
0 siblings, 0 replies; 13+ messages in thread
From: Arthur Zamarin @ 2022-10-08 16:49 UTC (permalink / raw
To: gentoo-commits
commit: 340726861f9f6aed82e5e7ecabae1829943b46ae
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 8 16:48:21 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 8 16:48:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34072686
dev-util/roctracer: use python_has_version inside python_check_deps
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-util/roctracer/roctracer-4.3.0-r3.ebuild | 4 ++--
dev-util/roctracer/roctracer-5.0.2-r1.ebuild | 4 ++--
dev-util/roctracer/roctracer-5.1.3-r1.ebuild | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dev-util/roctracer/roctracer-4.3.0-r3.ebuild b/dev-util/roctracer/roctracer-4.3.0-r3.ebuild
index c0573fc9cb13..a62fc9da4ef7 100644
--- a/dev-util/roctracer/roctracer-4.3.0-r3.ebuild
+++ b/dev-util/roctracer/roctracer-4.3.0-r3.ebuild
@@ -37,8 +37,8 @@ PATCHES=(
)
python_check_deps() {
- has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" &&
- has_version "dev-python/ply[${PYTHON_USEDEP}]"
+ python_has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" \
+ "dev-python/ply[${PYTHON_USEDEP}]"
}
src_prepare() {
diff --git a/dev-util/roctracer/roctracer-5.0.2-r1.ebuild b/dev-util/roctracer/roctracer-5.0.2-r1.ebuild
index a95a1732ef5e..cc0750dbbd20 100644
--- a/dev-util/roctracer/roctracer-5.0.2-r1.ebuild
+++ b/dev-util/roctracer/roctracer-5.0.2-r1.ebuild
@@ -40,8 +40,8 @@ PATCHES=(
)
python_check_deps() {
- has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" &&
- has_version "dev-python/ply[${PYTHON_USEDEP}]"
+ python_has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" \
+ "dev-python/ply[${PYTHON_USEDEP}]"
}
src_prepare() {
diff --git a/dev-util/roctracer/roctracer-5.1.3-r1.ebuild b/dev-util/roctracer/roctracer-5.1.3-r1.ebuild
index 1154d03f8c16..c911385a9bea 100644
--- a/dev-util/roctracer/roctracer-5.1.3-r1.ebuild
+++ b/dev-util/roctracer/roctracer-5.1.3-r1.ebuild
@@ -38,8 +38,8 @@ PATCHES=(
)
python_check_deps() {
- has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" &&
- has_version "dev-python/ply[${PYTHON_USEDEP}]"
+ python_has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" \
+ "dev-python/ply[${PYTHON_USEDEP}]"
}
src_prepare() {
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2023-07-05 18:15 Craig Andrews
0 siblings, 0 replies; 13+ messages in thread
From: Craig Andrews @ 2023-07-05 18:15 UTC (permalink / raw
To: gentoo-commits
commit: cc9a0fe2f72546d661101504f0dc1e15e7791631
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 5 18:13:04 2023 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Jul 5 18:15:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc9a0fe2
dev-util/roctracer: drop myself as a maintainer
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
dev-util/roctracer/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/dev-util/roctracer/metadata.xml b/dev-util/roctracer/metadata.xml
index 1d728a2f4ec4..872a2a3bdb22 100644
--- a/dev-util/roctracer/metadata.xml
+++ b/dev-util/roctracer/metadata.xml
@@ -5,10 +5,6 @@
<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" proxied="yes">
<email>xgreenlandforwyy@gmail.com</email>
<name>Yiyang Wu</name>
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2023-07-29 2:56 Benda XU
0 siblings, 0 replies; 13+ messages in thread
From: Benda XU @ 2023-07-29 2:56 UTC (permalink / raw
To: gentoo-commits
commit: b61b623c63f19b2cdc6f3c1b40a21a5dc086a411
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 14:08:00 2023 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jul 29 02:54:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b61b623c
dev-util/roctracer: break the tight version coupling.
roctracer does not require specific versions of hip and rocr-runtime.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
.../roctracer/{roctracer-5.3.3.ebuild => roctracer-5.3.3-r1.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-util/roctracer/roctracer-5.3.3.ebuild b/dev-util/roctracer/roctracer-5.3.3-r1.ebuild
similarity index 96%
rename from dev-util/roctracer/roctracer-5.3.3.ebuild
rename to dev-util/roctracer/roctracer-5.3.3-r1.ebuild
index 23e3d7e714e7..54def42e46a6 100644
--- a/dev-util/roctracer/roctracer-5.3.3.ebuild
+++ b/dev-util/roctracer/roctracer-5.3.3-r1.ebuild
@@ -20,8 +20,8 @@ KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
-RDEPEND="dev-libs/rocr-runtime:${SLOT}
- dev-util/hip:${SLOT}"
+RDEPEND="dev-libs/rocr-runtime
+ dev-util/hip"
DEPEND="${RDEPEND}"
BDEPEND="
$(python_gen_any_dep '
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2023-07-30 4:39 Benda XU
0 siblings, 0 replies; 13+ messages in thread
From: Benda XU @ 2023-07-30 4:39 UTC (permalink / raw
To: gentoo-commits
commit: 04c4db705d35f2f540a797df8763444315e4e156
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 29 07:19:07 2023 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Jul 30 04:35:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c4db70
dev-util/roctracer: enable py3.11
Closes: https://github.com/gentoo/gentoo/pull/30987
Closes: https://bugs.gentoo.org/906132
Suggested-by: e-mmh <emma25000 <AT> caramail.fr>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
dev-util/roctracer/roctracer-5.1.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/roctracer/roctracer-5.1.3-r1.ebuild b/dev-util/roctracer/roctracer-5.1.3-r1.ebuild
index f70bf95675a4..22befb0d4430 100644
--- a/dev-util/roctracer/roctracer-5.1.3-r1.ebuild
+++ b/dev-util/roctracer/roctracer-5.1.3-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit cmake prefix python-any-r1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2024-06-27 1:25 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2024-06-27 1:25 UTC (permalink / raw
To: gentoo-commits
commit: 7c8e8170a7c5a64d8d9332dd4c6a423f13a54975
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 27 01:25:01 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 01:25:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c8e8170
dev-util/roctracer: explicitly call llvm-r1_pkg_setup too
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/roctracer/roctracer-6.1.1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-util/roctracer/roctracer-6.1.1.ebuild b/dev-util/roctracer/roctracer-6.1.1.ebuild
index ad93bd9c3718..61a5b02149f2 100644
--- a/dev-util/roctracer/roctracer-6.1.1.ebuild
+++ b/dev-util/roctracer/roctracer-6.1.1.ebuild
@@ -43,6 +43,7 @@ python_check_deps() {
pkg_setup() {
python-any-r1_pkg_setup
+ llvm-r1_pkg_setup
}
src_prepare() {
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2024-06-27 1:25 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2024-06-27 1:25 UTC (permalink / raw
To: gentoo-commits
commit: 8c5386403a9a166230b29924b19568d5140ca9be
Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Wed Jun 26 13:09:22 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 01:24:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c538640
dev-util/roctracer: bugfixes for 6.1.1
* specify python executable for cmake, otherwise it uses latest
* remove -Werror from hardcoded flags
* enable py3.13
Closes: https://bugs.gentoo.org/934969
Closes: https://bugs.gentoo.org/892732
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37310
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/roctracer/roctracer-6.1.1.ebuild | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/dev-util/roctracer/roctracer-6.1.1.ebuild b/dev-util/roctracer/roctracer-6.1.1.ebuild
index dd48dffc4b81..ad93bd9c3718 100644
--- a/dev-util/roctracer/roctracer-6.1.1.ebuild
+++ b/dev-util/roctracer/roctracer-6.1.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
LLVM_COMPAT=( 18 )
ROCM_VERSION=${PV}
@@ -41,6 +41,10 @@ python_check_deps() {
"dev-python/ply[${PYTHON_USEDEP}]"
}
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
src_prepare() {
cmake_src_prepare
@@ -56,6 +60,9 @@ src_prepare() {
# Fix search path for HIP cmake
sed -e "s,\${ROCM_PATH}/lib/cmake,/usr/$(get_libdir)/cmake,g" -i test/CMakeLists.txt || die
+
+ # bug #892732
+ sed -i -e 's/-Werror//' CMakeLists.txt || die
}
src_configure() {
@@ -63,6 +70,7 @@ src_configure() {
-DCMAKE_MODULE_PATH="${EPREFIX}/usr/$(get_libdir)/cmake/hip"
-DFILE_REORG_BACKWARD_COMPATIBILITY=OFF
-DWITH_TESTS=$(usex test)
+ -DPython3_EXECUTABLE="${PYTHON}"
)
use test && mycmakeargs+=(
-DHIP_ROOT_DIR="${EPREFIX}/usr"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
@ 2024-09-09 18:20 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2024-09-09 18:20 UTC (permalink / raw
To: gentoo-commits
commit: 58ee8b5d08feb2cf8e7257f4033a19ba1cd2312e
Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sat Jul 20 17:54:22 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 9 18:15:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58ee8b5d
dev-util/roctracer: strip unsupported flags for potentially switched compiler
Also fix libc++ in hipcc (clang-18) has no <experimental/filesystem>.
Also remove unused cmake flag.
Bug: https://bugs.gentoo.org/936099
Closes: https://bugs.gentoo.org/854111
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{roctracer-6.1.1.ebuild => roctracer-6.1.1-r1.ebuild} | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/dev-util/roctracer/roctracer-6.1.1.ebuild b/dev-util/roctracer/roctracer-6.1.1-r1.ebuild
similarity index 82%
rename from dev-util/roctracer/roctracer-6.1.1.ebuild
rename to dev-util/roctracer/roctracer-6.1.1-r1.ebuild
index 61a5b02149f2..5ac47938ee4d 100644
--- a/dev-util/roctracer/roctracer-6.1.1.ebuild
+++ b/dev-util/roctracer/roctracer-6.1.1-r1.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{10..13} )
LLVM_COMPAT=( 18 )
ROCM_VERSION=${PV}
-inherit cmake prefix python-any-r1 rocm llvm-r1
+inherit cmake flag-o-matic llvm-r1 prefix python-any-r1 rocm toolchain-funcs
DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's"
HOMEPAGE="https://github.com/ROCm/roctracer"
@@ -64,9 +64,21 @@ src_prepare() {
# bug #892732
sed -i -e 's/-Werror//' CMakeLists.txt || die
+
+ # libc++ may have no experimental/filesystem
+ sed -e 's|experimental/||' -e 's|experimental::||' \
+ -i plugin/file/file.cpp src/hip_stats/hip_stats.cpp \
+ src/roctracer/loader.h src/tracer_tool/tracer_tool.cpp || die
}
src_configure() {
+ rocm_use_hipcc
+
+ if [[ $(tc-get-cxx-stdlib) == "libc++" ]] ; then
+ # https://releases.llvm.org/9.0.0/projects/libcxx/docs/UsingLibcxx.html#using-filesystem
+ append-libs "-lc++fs"
+ fi
+
local mycmakeargs=(
-DCMAKE_MODULE_PATH="${EPREFIX}/usr/$(get_libdir)/cmake/hip"
-DFILE_REORG_BACKWARD_COMPATIBILITY=OFF
@@ -75,7 +87,6 @@ src_configure() {
)
use test && mycmakeargs+=(
-DHIP_ROOT_DIR="${EPREFIX}/usr"
- -DHIP_CLANG_INSTALL_DIR="$(get_llvm_prefix)/bin"
-DGPU_TARGETS="$(get_amdgpu_flags)"
)
^ permalink raw reply related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2024-09-09 18:20 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-13 8:08 [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/ Benda XU
-- strict thread matches above, loose matches on Subject: below --
2021-08-26 12:39 Benda XU
2022-01-30 8:07 Jason Zaman
2022-02-13 21:08 Conrad Kostecki
2022-06-22 18:35 Andrew Ammerlaan
2022-08-06 14:23 Benda XU
2022-10-08 16:49 Arthur Zamarin
2023-07-05 18:15 Craig Andrews
2023-07-29 2:56 Benda XU
2023-07-30 4:39 Benda XU
2024-06-27 1:25 Sam James
2024-06-27 1:25 Sam James
2024-09-09 18:20 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox