public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marek Polacek <polacek@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rhel-f41-base: Don't require rocm-runtime on RHEL
Date: Mon, 29 Jun 2026 12:30:35 GMT	[thread overview]
Message-ID: <178273623555.1.9994806958966126558.rpms-gcc-13569d0f04de@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-29 12:30 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=178273623555.1.9994806958966126558.rpms-gcc-13569d0f04de@fedoraproject.org \
    --to=polacek@redhat.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