public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rccl] rawhide: Update preview to 10.1
@ 2026-10-07 22:50 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-10-07 22:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rccl
            Branch : rawhide
            Commit : a127f4ade3fcf1de9318fec58262533758835141
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-10-07T15:49:54-07:00
            Stats  : +6/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rccl/c/a127f4ade3fcf1de9318fec58262533758835141?branch=rawhide

            Log:
            Update preview to 10.1

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

---
diff --git a/rccl.spec b/rccl.spec
index 52f28f8..9daedb6 100644
--- a/rccl.spec
+++ b/rccl.spec
@@ -23,7 +23,7 @@
 
 %bcond_with preview
 %if %{with preview}
-%global rocm_release 10.0
+%global rocm_release 10.1
 %else
 %global rocm_release 10.0
 %endif
@@ -266,8 +266,10 @@ 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 %{without preview}
 # need iostream to use std::cerr
 sed -i '/#include <cuda_runtime.h>/a #include <iostream>' src/ipc_init.cu
+%endif
 # need std::map
 sed -i '/#include <mutex>/a #include <map>' src/transport/net.cc
 
@@ -324,6 +326,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/rccl/LICENSE.txt
 %files test
 %{pkg_prefix}/bin/rccl-UnitTests*
 %{pkg_prefix}/bin/rccl/*.cmake
+%if %{with preview}
+%{pkg_prefix}/bin/librccl-test*.so
+%endif
 %endif
 
 %changelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-07 22:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 22:50 [rpms/rccl] rawhide: Update preview to 10.1 Tom Rix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox