public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/
Date: Thu, 27 Jun 2024 01:25:53 +0000 (UTC)	[thread overview]
Message-ID: <1719451453.8c5386403a9a166230b29924b19568d5140ca9be.sam@gentoo> (raw)

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"


             reply	other threads:[~2024-06-27  1:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27  1:25 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-09 18:20 [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/ Sam James
2024-06-27  1:25 Sam James
2023-07-30  4:39 Benda XU
2023-07-29  2:56 Benda XU
2023-07-05 18:15 Craig Andrews
2022-10-08 16:49 Arthur Zamarin
2022-08-06 14:23 Benda XU
2022-06-22 18:35 Andrew Ammerlaan
2022-02-13 21:08 Conrad Kostecki
2022-01-30  8:07 Jason Zaman
2021-08-26 12:39 Benda XU
2021-08-13  8:08 Benda XU

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=1719451453.8c5386403a9a166230b29924b19568d5140ca9be.sam@gentoo \
    --to=sam@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