From b0b2a84bc83e13dbef714ce1ebf84159cf81f9be Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 25 Sep 2024 00:08:04 -0400 Subject: [PATCH] Change ppc64le tuning to Power 10 for RHEL10 and beyond --- macros | 2 +- redhat-rpm-config.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/macros b/macros index 35f1dfa..4b2ca28 100644 --- a/macros +++ b/macros @@ -154,7 +154,7 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end # Also used for s390. %__cflags_arch_s390x %[0%{?rhel} >= 9 ? "-march=z14 -mtune=z15" : "-march=z13 -mtune=z14"] -%__cflags_arch_ppc64le %[0%{?rhel} >= 9 ? "-mcpu=power9 -mtune=power9" : "-mcpu=power8 -mtune=power8"] +%__cflags_arch_ppc64le %[0%{?rhel} >= 9 ? "-mcpu=power9 -mtune=power10" : "-mcpu=power8 -mtune=power8" ] #============================================================================== # ---- configure and makeinstall. diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index f627124..6ba0df0 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -4,7 +4,7 @@ # 2) When making changes, increment the version (in baserelease) by 1. # rpmdev-bumpspec and other tools update the macro below, which is used # in Version: to get the desired effect. -%global baserelease 295 +%global baserelease 296 Summary: Red Hat-family-specific rpm configuration files Name: redhat-rpm-config @@ -255,6 +255,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua %doc buildflags.md %changelog +* Wed Sep 25 2024 Siddhesh Poyarekar - 296-1 +- Change ppc64le tuning to Power 10 for RHEL10 and beyond. + * Fri Sep 06 2024 Dridi Boukelmoune - 295-1 - Define %%hare_arches with a list of Hare host architectures