Change ppc64le tuning to Power 10 for RHEL10 and beyond

Resolves: RHEL-58074
This commit is contained in:
Siddhesh Poyarekar 2024-09-25 00:24:15 -04:00 committed by Siddhesh Poyarekar
parent 43f76414c7
commit 3c25b90657
2 changed files with 6 additions and 2 deletions

3
macros
View File

@ -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.

View File

@ -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 <siddhesh@redhat.com> - 286-1
- Change ppc64le tuning to Power 10 for RHEL10 and beyond (RHEL-58074)
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 285-1
- Bump release for June 2024 mass rebuild