public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: Don't require rocm-runtime on RHEL
@ 2026-06-29 12:30 Marek Polacek
  0 siblings, 0 replies; only message in thread
From: Marek Polacek @ 2026-06-29 12:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : 13569d0f04dee6cd42abc72fa19f32cb0fe32762
Author : Marek Polacek <polacek@redhat.com>
Date   : 2024-05-07T13:20:04-04:00
Stats  : +3/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/13569d0f04dee6cd42abc72fa19f32cb0fe32762?branch=rhel-f41-base

Log:
Don't require rocm-runtime on RHEL

---
diff --git a/gcc.spec b/gcc.spec
index 4fd1e02..e91ca62 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -116,15 +116,11 @@
 %else
 %global build_offload_nvptx 0
 %endif
-%if 0%{?rhel:1}
-%global build_offload_amdgcn 0
-%else
 %ifarch x86_64
 %global build_offload_amdgcn 1
 %else
 %global build_offload_amdgcn 0
 %endif
-%endif
 %if 0%{?fedora} < 32 && 0%{?rhel} < 8
 %ifarch s390x
 %global multilib_32_arch s390
@@ -581,7 +577,9 @@ installed separately.
 %package -n libgomp-offload-amdgcn
 Summary: GCC OpenMP v4.5 plugin for offloading to AMD GCN
 Requires: libgomp = %{version}-%{release}
+%if 0%{?fedora:1}
 Requires: rocm-runtime >= 6.0.0
+%endif
 
 %description -n libgomp-offload-amdgcn
 This package contains libgomp plugin for offloading to AMD ROCm capable
@@ -3635,7 +3633,7 @@ end
 * Fri May  3 2024 Marek Polacek <polacek@redhat.com> 14.0.1-0.17
 - enable hardening and configure with --enable-host-pie --enable-host-bind-now
   on RHEL
-- don't build offload-amdgcn on RHEL
+- don't require rocm-runtime on RHEL
 
 * Tue Apr 30 2024 Jakub Jelinek <jakub@redhat.com> 14.0.1-0.16
 - update from trunk and releases/gcc-14 branch

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

only message in thread, other threads:[~2026-06-29 12:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 12:30 [rpms/gcc] rhel-f41-base: Don't require rocm-runtime on RHEL Marek Polacek

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