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/rocclr] rawhide: Update preview to 10.2
Date: Sat, 21 Nov 2026 17:21:57 GMT	[thread overview]
Message-ID: <179528171760.1.1824598016619105061.rpms-rocclr-a859cfb9302e@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-21 17:21 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=179528171760.1.1824598016619105061.rpms-rocclr-a859cfb9302e@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