public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rccl] rawhide: Update preview to 7.14
Date: Sun, 02 Aug 2026 19:44:14 GMT	[thread overview]
Message-ID: <178569985466.1.18189527483300588733.rpms-rccl-0f585253fc2f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rccl
            Branch : rawhide
            Commit : 0f585253fc2fe496063a3c9bc2724a9a4ef035fe
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-08-02T12:42:02-07:00
            Stats  : +27/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rccl/c/0f585253fc2fe496063a3c9bc2724a9a4ef035fe?branch=rawhide

            Log:
            Update preview to 7.14

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/rccl.spec b/rccl.spec
index 1d4150d..42f2991 100644
--- a/rccl.spec
+++ b/rccl.spec
@@ -22,7 +22,7 @@
 %bcond_with preview
 %if %{with preview}
 %global upstreamname rccl
-%global rocm_release 7.12
+%global rocm_release 7.14
 %global rocm_patch 0
 %global pkg_src therock-%{rocm_release}
 %else
@@ -94,7 +94,7 @@
 Name:           %{rccl_name}
 Version:        %{rocm_version}
 %if %{with preview}
-Release:        2%{?dist}
+Release:        0%{?dist}
 %else
 Release:        6%{?dist}
 %endif
@@ -110,6 +110,7 @@ License:        BSD-3-Clause AND MIT AND Apache-2.0
 %if %{with preview}
 URL:            https://github.com/ROCm/rocm-systems
 Source0:        %{url}/releases/download/%{pkg_src}/%{upstreamname}.tar.gz#/%{upstreamname}-%{version}.tar.gz
+Patch1:         0001-rccl-multiple-nccl_domain.patch
 %else
 Url:            https://github.com/ROCm/rccl
 Source0:        %{url}/archive/rocm-%{rocm_version}.tar.gz#/%{upstreamname}-%{rocm_version}.tar.gz
@@ -277,8 +278,22 @@ sed -i -e "s@-parallel-jobs=\${num_linker_jobs}@-parallel-jobs=${LINK_JOBS}@" CM
 # Switch to bfd
 sed -i -e 's@target_link_libraries(rccl PRIVATE   -fgpu-rdc)@target_link_libraries(rccl PRIVATE   -fgpu-rdc -fuse-ld=bfd)@' CMakeLists.txt
 
+%if %{with preview}
+# need iostream to use std::cerr
+sed -i '/#include <cuda_runtime.h>/a #include <iostream>' src/ipc_init.cu
+# need std::map
+sed -i '/#include <mutex>/a #include <map>' src/transport/net.cc
+%endif
 
 %build
+
+%if %{with preview}
+# to find rocm things, setting -DROCM_PATH broken
+export ROCM_PATH=%{pkg_prefix}
+# to find amdclang++
+export PATH=%rocmllvm_bindir:$PATH
+%endif
+
 %cmake \
     -DGPU_TARGETS=%{gpu_list} \
     -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF \
@@ -317,10 +332,19 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/rccl/LICENSE.txt
 %{pkg_prefix}/include/rccl/
 %{pkg_prefix}/%{pkg_libdir}/cmake/rccl/
 %{pkg_prefix}/%{pkg_libdir}/librccl.so
+%if %{with preview}
+%{pkg_prefix}/include/nccl.h
+%{pkg_prefix}/include/nccl_device.h
+%{pkg_prefix}/include/nccl_device/
+%endif
+
 
 %if %{with test}
 %files test
-%{pkg_prefix}/bin/rccl-UnitTests
+%{pkg_prefix}/bin/rccl-UnitTests*
+%if %{with preview}
+%{pkg_prefix}/bin/rccl/*.cmake
+%endif
 %endif
 
 %changelog

                 reply	other threads:[~2026-08-02 19:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178569985466.1.18189527483300588733.rpms-rccl-0f585253fc2f@fedoraproject.org \
    --to=tom.rix@amd.com \
    --cc=git-commits@fedoraproject.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