public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rawhide: Increase s390x baselines for RHEL 11
@ 2026-06-16 14:51 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-16 14:51 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gcc
            Branch : rawhide
            Commit : bda4cc2d7df56066fb794ebcc56e35a4327c4bed
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-16T10:17:52-04:00
            Stats  : +15/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gcc/c/bda4cc2d7df56066fb794ebcc56e35a4327c4bed?branch=rawhide

            Log:
            Increase s390x baselines for RHEL 11

Also, simplify the conditional logic so that it can be easily understood,
and eliminate an unreachable code path.

---
diff --git a/gcc.spec b/gcc.spec
index cd9ab80..6fa2d96 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -4,7 +4,7 @@
 %global gcc_major 16
 # Note, gcc_release must be integer, if you want to add suffixes to
 # %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 2
+%global gcc_release 3
 %global nvptx_tools_gitrev 212da2e781ed0f9423824e85eb04819958513f7a
 %global newlib_cygwin_gitrev d35cc82b5ec15bb8a5fe0fe11e183d1887992e99
 %global _unpackaged_files_terminate_build 0
@@ -1305,22 +1305,20 @@ CONFIGURE_OPTS="\
 %endif
 %endif
 %ifarch s390 s390x
-%if 0%{?rhel} >= 7
-%if 0%{?rhel} > 7
-%if 0%{?rhel} > 8
+%if 0%{?rhel} >= 11
+	--with-arch=z15 --with-tune=z16 \
+%else
 %if 0%{?rhel} >= 10
 	--with-arch=z14 --with-tune=z16 \
-%elif 0%{?rhel} >= 9
-	--with-arch=z14 --with-tune=z15 \
 %else
-	--with-arch=z13 --with-tune=arch13 \
-%endif
+%if 0%{?rhel} >= 9
+	--with-arch=z14 --with-tune=z15 \
 %else
+%if 0%{?rhel} == 8
 	--with-arch=z13 --with-tune=z14 \
-%endif
 %else
+%if 0%{?rhel} == 7
 	--with-arch=z196 --with-tune=zEC12 \
-%endif
 %else
 %if 0%{?fedora} >= 38
 	--with-arch=z13 --with-tune=z14 \
@@ -1332,6 +1330,10 @@ CONFIGURE_OPTS="\
 %endif
 %endif
 %endif
+%endif
+%endif
+%endif
+%endif
 	--enable-decimal-float \
 %endif
 %ifarch armv7hl
@@ -3982,6 +3984,9 @@ end
 %endif
 
 %changelog
+* Tue May 19 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 16.1.1-3
+- Increase s390x baselines for RHEL 11
+
 * Fri May 15 2026 Jakub Jelinek <jakub@redhat.com> 16.1.1-2
 - update from releases/gcc-16 branch
   - PRs ada/125168, ada/125240, c++/100903, c++/115181, c++/124628,

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

only message in thread, other threads:[~2026-06-16 14:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-16 14:51 [rpms/gcc] rawhide: Increase s390x baselines for RHEL 11 Yaakov Selkowitz

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