public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/redhat-rpm-config] rawhide: Increase RHEL 11 ppc64le baseline to POWER10, tune to POWER11
@ 2026-11-23 15:24 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-11-23 15:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/redhat-rpm-config
Branch : rawhide
Commit : 4869c7ab6043401c6367ce48cb6c9a43cc814fcb
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-11-20T14:39:13-05:00
Stats : +8/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/redhat-rpm-config/c/4869c7ab6043401c6367ce48cb6c9a43cc814fcb?branch=rawhide
Log:
Increase RHEL 11 ppc64le baseline to POWER10, tune to POWER11
https://github.com/fedora-eln/eln/issues/625
---
diff --git a/macros b/macros
index 09d867c..19fb411 100644
--- a/macros
+++ b/macros
@@ -174,7 +174,14 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end
%[0%{?rhel} == 9 ? "-march=z14 -mtune=z15" : ""]
%[!(0%{?fedora} >= 45 || 0%{?rhel} >= 9) ? "-march=z13 -mtune=z14" : ""]}
-%__cflags_arch_ppc64le %[0%{?rhel} >= 9 ? "-mcpu=power9 -mtune=power10" : "-mcpu=power8 -mtune=power8" ]
+# ppc64le
+# Fedora, and RHEL 8, target P8
+# RHEL 9 and 10 target P9/P10
+# RHEL 11 targets P10/P11
+%__cflags_arch_ppc64le %{shrink:
+ %[0%{?rhel} >= 11 ? "-mcpu=power10 -mtune=power11" : "" ]
+ %[(0%{?rhel} >= 9 && 0%{?rhel} < 11) ? "-mcpu=power9 -mtune=power10" : "" ]
+ %[!(0%{?rhel} >= 9) ? "-mcpu=power8 -mtune=power8" : "" ]}
%__cflags_arch_riscv64 %[0%{?rhel} >= 11 ? "-march=rva23u64" : "" ]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 15:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 15:24 [rpms/redhat-rpm-config] rawhide: Increase RHEL 11 ppc64le baseline to POWER10, tune to POWER11 Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox