This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 31fafda1b7 gnu: rccl: Fix build.
31fafda1b7 is described below
commit 31fafda1b7b92f4b3a531e6df8c10d868ebbae8d
Author: Cayetano Santos <[email protected]>
AuthorDate: Wed Feb 18 11:04:06 2026 +0100
gnu: rccl: Fix build.
* gnu/packages/rocm.scm (rccl)[source]: Switch.
[arguments]<#:phases>: Delete ’chdir; update remaining phases
accordingly.
Fixes guix/guix#6319
Change-Id: I9318c6d8192b5ec5ee0f40614a6eebfc2609fa7b
---
gnu/packages/rocm.scm | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/rocm.scm b/gnu/packages/rocm.scm
index fedbe4eccc..441079354f 100644
--- a/gnu/packages/rocm.scm
+++ b/gnu/packages/rocm.scm
@@ -680,7 +680,19 @@ moves.")
(package
(name "rccl")
(version %rocm-version)
- (source %rocm-systems-origin)
+ ;; TODO: Switch to
+ ;; (source %rocm-systems-origin)
+ ;; with %rocm-version 7.1.3
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ROCm/rccl")
+ (commit (string-append "rocm-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0k1k181az3hifripd99srvshq9bw9kj2p77z5nw7zmnydbfc7vny"))))
(build-system cmake-build-system)
(arguments
(list
@@ -695,15 +707,12 @@ moves.")
#$(string-append "-DGPU_TARGETS=" (current-amd-gpu-targets-string)))
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'chdir
- (lambda _
- (chdir "projects/rccl")))
- (add-after 'chdir 'patch-rocm-version
+ (add-after 'unpack 'patch-rocm-version
(lambda _
(substitute* "CMakeLists.txt"
(("cat \\$\\{ROCM_PATH\\}/\\.info/version")
(string-append "echo " #$%rocm-version)))))
- (add-after 'chdir 'fix-cmake
+ (add-after 'unpack 'fix-cmake
(lambda _
(substitute* "CMakeLists.txt"
(("bash.*/etc/os-release.*")