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: merge compat changes
Date: Wed, 03 Jun 2026 00:13:55 GMT	[thread overview]
Message-ID: <178044563591.1.9112813473312116755.rpms-rocclr-1f07e74df2ac@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rocclr
            Branch : rawhide
            Commit : 1f07e74df2ac5a26113e7d0da13086c019e89992
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-06-02T17:13:27-07:00
            Stats  : +17/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocclr/c/1f07e74df2ac5a26113e7d0da13086c019e89992?branch=rawhide

            Log:
            merge compat changes

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

---
diff --git a/rocclr.spec b/rocclr.spec
index 7cd638f..1425968 100644
--- a/rocclr.spec
+++ b/rocclr.spec
@@ -44,10 +44,12 @@
 %global pkg_libdir lib
 %global pkg_prefix %{_prefix}/lib64/rocm/rocm-%{rocm_release}
 %global pkg_suffix %{rocm_release}
+%global skip_install_rpath OFF
 %else
 %global pkg_libdir %{_lib}
 %global pkg_prefix %{_prefix}
 %global pkg_suffix %{nil}
+%global skip_install_rpath ON
 %endif
 %global pkg_name rocclr%{pkg_suffix}
 
@@ -94,8 +96,12 @@
 %endif
 %endif
 %if 0%{?fedora}
+%if %{with compat}
+%bcond_with ocl
+%else
 %bcond_without ocl
 %endif
+%endif
 
 %if %{with ocl}
 %global build_ocl ON
@@ -110,7 +116,7 @@ Version:        %{rocm_version}
 %if %{with preview}
 Release:        0%{?dist}
 %else
-Release:        1%{?dist}
+Release:        2%{?dist}
 %endif
 Summary:        ROCm Compute Language Runtime
 License:        MIT AND Apache-2.0 AND MIT-Khronos-old
@@ -218,6 +224,8 @@ Requires:    opencl-filesystem
 %if 0%{?suse_version}
 Recommends:  LibOpenCL1
 %endif
+Requires:    rocm-filesystem%{pkg_suffix}
+Requires:    rocm-runtime%{pkg_suffix}
 
 %description -n rocm-opencl%{pkg_suffix}
 ROCm OpenCL language runtime.
@@ -237,6 +245,7 @@ The AMD ROCm OpenCL development package.
 
 %package -n rocm-clinfo%{pkg_suffix}
 Summary:        ROCm OpenCL platform and device tool
+Requires:    rocm-filesystem%{pkg_suffix}
 
 %description -n rocm-clinfo%{pkg_suffix}
 A simple ROCm OpenCL application that enumerates all possible platform and
@@ -247,6 +256,8 @@ device information.
 Summary:        ROCm HIP platform and device tool
 Requires:       comgr%{pkg_suffix}(major) = %{comgr_maj_api_ver}
 Requires:       hipcc%{pkg_suffix}
+Requires:       rocm-filesystem%{pkg_suffix}
+Requires:       rocm-runtime%{pkg_suffix}
 
 %description -n rocm-hip%{pkg_suffix}
 HIP is a C++ Runtime API and Kernel Language that allows developers to create
@@ -342,7 +353,9 @@ export PATH=%{rocmllvm_bindir}:$PATH
     -DCMAKE_LINKER=%rocmllvm_bindir/ld.lld \
     -DCMAKE_INSTALL_LIBDIR=%{pkg_libdir} \
     -DCMAKE_INSTALL_PREFIX=%{pkg_prefix} \
+    -DCMAKE_INSTALL_RPATH=%{pkg_prefix}/%{pkg_libdir} \
     -DCMAKE_PREFIX_PATH=%{rocmllvm_cmakedir}/.. \
+    -DCMAKE_SKIP_INSTALL_RPATH=%{skip_install_rpath} \
     -DHIPCC_BIN_DIR=%{pkg_prefix}/bin \
     -DHIP_COMMON_DIR=$p/hip \
     -DHIP_COMPILER=%rocmllvm_bindir/amdclang++ \
@@ -464,6 +477,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/hip/LICENSE.md
 %endif
 
 %changelog
+* Tue Jun 2 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.2-2
+- merge compat changes
+
 * Tue Mar 24 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.1-1
 - Update to 7.2.1
 

                 reply	other threads:[~2026-06-03  0:13 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=178044563591.1.9112813473312116755.rpms-rocclr-1f07e74df2ac@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