diff --git a/macros b/macros index e96b4e8..1574c5c 100644 --- a/macros +++ b/macros @@ -154,7 +154,8 @@ 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"] +%_ppc64le_tune_level %[0%{?rhel} >= 10 ? "-mtune=power10" : "-mtune=power9"] +%__cflags_arch_ppc64le %[0%{?rhel} >= 9 ? "-mcpu=power9 %{_ppc64le_tune_level}" : "-mcpu=power8 -mtune=power8" ] #============================================================================== # ---- configure and makeinstall. diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 39ad195..ca4aa85 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 285 +%global baserelease 286 Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config @@ -259,6 +259,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua %doc buildflags.md %changelog +* Wed Sep 25 2024 Siddhesh Poyarekar - 286-1 +- Change ppc64le tuning to Power 10 for RHEL10 and beyond (RHEL-58074) + * Mon Jun 24 2024 Troy Dawson - 285-1 - Bump release for June 2024 mass rebuild