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

            A new commit has been pushed.

            Repo   : rpms/rocclr
            Branch : rawhide
            Commit : a859cfb9302e2ce8ba9c8588116ab544cf2742db
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-11-21T09:21:24-08:00
            Stats  : +9/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocclr/c/a859cfb9302e2ce8ba9c8588116ab544cf2742db?branch=rawhide

            Log:
            Update preview to 10.2

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

---
diff --git a/rocclr.spec b/rocclr.spec
index 149b106..3ab1378 100644
--- a/rocclr.spec
+++ b/rocclr.spec
@@ -25,7 +25,7 @@
 %bcond_with preview
 %if %{with preview}
 %global rocm_major 10
-%global rocm_minor 1
+%global rocm_minor 2
 %else
 %global rocm_major 10
 %global rocm_minor 1
@@ -335,6 +335,12 @@ sed -i -e 's@add_subdirectory(packaging)@#add_subdirectory(packaging)@' opencl/C
 # cmake version
 sed -i -e 's@cmake_minimum_required(VERSION 3.3)@cmake_minimum_required(VERSION 3.5)@' hipamd/src/hiprtc/cmake/hiprtc-config.cmake.in
 
+%if %{with preview}
+# no hrr in fedora
+sed -i -e 's@add_subdirectory(hrr)@#add_subdirectory(hrr)@' hipamd/src/CMakeLists.txt
+sed -i -e 's@hip_capture_init()@//hip_capture_init()@' hipamd/src/hip_context.cpp
+%endif
+
 %build
 
 # So we can set HIP_COMMON_DIR
@@ -437,7 +443,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/hip/LICENSE.md
 %{pkg_prefix}/%{pkg_libdir}/libhiprtc.so.%{pkg_library_version}{,.*}
 %{pkg_prefix}/%{pkg_libdir}/libhiprtc-builtins.so.%{pkg_library_version}{,.*}
 %{pkg_prefix}/share/hip
+%if %{without preview}
 %{pkg_prefix}/bin/hrr-playback
+%endif
 
 %files -n rocm-hip%{pkg_suffix}-devel
 %{pkg_prefix}/%{pkg_libdir}/libamdhip64.so

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

only message in thread, other threads:[~2026-11-21 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-21 17:21 [rpms/rocclr] rawhide: Update preview to 10.2 Tom Rix

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