From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rccl/, dev-libs/rccl/files/
Date: Fri, 10 Jan 2025 00:31:56 +0000 (UTC) [thread overview]
Message-ID: <1736468950.b761d8281f96ed7e40e8455d274a58417967435d.sam@gentoo> (raw)
commit: b761d8281f96ed7e40e8455d274a58417967435d
Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Tue Jan 7 15:20:04 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 10 00:29:10 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b761d828
dev-libs/rccl: fix tests compilation/execution with dev-cpp/gtest-1.15.2
Applied the same patch as in 6.3.0.
Masked secondary device, as multiple devices with different capabilities break tests per https://rocm.docs.amd.com/projects/radeon/en/latest/docs/prerequisites.html#disable-igpu
No change in built object -> no revbump.
Closes: https://bugs.gentoo.org/947600
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40026
Signed-off-by: Sam James <sam <AT> gentoo.org>
| 0
dev-libs/rccl/rccl-6.1.1.ebuild | 6 ++++--
dev-libs/rccl/rccl-6.3.0.ebuild | 7 ++++---
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/dev-libs/rccl/files/rccl-6.3.0-headers-fix.patch b/dev-libs/rccl/files/rccl-6.1.1-headers-fix.patch
similarity index 100%
rename from dev-libs/rccl/files/rccl-6.3.0-headers-fix.patch
rename to dev-libs/rccl/files/rccl-6.1.1-headers-fix.patch
diff --git a/dev-libs/rccl/rccl-6.1.1.ebuild b/dev-libs/rccl/rccl-6.1.1.ebuild
index 8b583cb22096..a3838aa9d4a2 100644
--- a/dev-libs/rccl/rccl-6.1.1.ebuild
+++ b/dev-libs/rccl/rccl-6.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -32,6 +32,7 @@ RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-6.0.2-fix-version-check.patch"
+ "${FILESDIR}/${PN}-6.1.1-headers-fix.patch"
)
src_prepare() {
@@ -67,5 +68,6 @@ src_configure() {
src_test() {
check_amdgpu
cd "${BUILD_DIR}" || die
- LD_LIBRARY_PATH="${BUILD_DIR}" edob test/rccl-UnitTests
+ # APU (as second device, if any) expectedly breaks tests
+ HIP_VISIBLE_DEVICES=0 LD_LIBRARY_PATH="${BUILD_DIR}" edob test/rccl-UnitTests
}
diff --git a/dev-libs/rccl/rccl-6.3.0.ebuild b/dev-libs/rccl/rccl-6.3.0.ebuild
index d610f7eb139c..13edd47c89de 100644
--- a/dev-libs/rccl/rccl-6.3.0.ebuild
+++ b/dev-libs/rccl/rccl-6.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -33,7 +33,7 @@ RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-6.0.2-fix-version-check.patch"
"${FILESDIR}/${PN}-6.3.0-same-rank-sendrecv.patch"
- "${FILESDIR}/${PN}-6.3.0-headers-fix.patch"
+ "${FILESDIR}/${PN}-6.1.1-headers-fix.patch"
)
src_prepare() {
@@ -71,5 +71,6 @@ src_configure() {
src_test() {
check_amdgpu
cd "${BUILD_DIR}" || die
- LD_LIBRARY_PATH="${BUILD_DIR}" edob test/rccl-UnitTests
+ # APU (as second device, if any) expectedly breaks tests
+ HIP_VISIBLE_DEVICES=0 LD_LIBRARY_PATH="${BUILD_DIR}" edob test/rccl-UnitTests
}
next reply other threads:[~2025-01-10 0:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-10 0:31 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-05 21:49 [gentoo-commits] repo/gentoo:master commit in: dev-libs/rccl/, dev-libs/rccl/files/ Sam James
2024-07-20 6:42 Joonas Niilola
2022-09-22 1:08 Benda XU
2022-05-02 2:57 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=1736468950.b761d8281f96ed7e40e8455d274a58417967435d.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