Change ppc64le tuning to Power 10 for RHEL10 and beyond

This commit is contained in:
Siddhesh Poyarekar 2024-09-25 00:08:04 -04:00
parent 1712c050a1
commit b0b2a84bc8
2 changed files with 5 additions and 2 deletions

2
macros
View File

@ -154,7 +154,7 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end
# Also used for s390. # Also used for s390.
%__cflags_arch_s390x %[0%{?rhel} >= 9 ? "-march=z14 -mtune=z15" : "-march=z13 -mtune=z14"] %__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. # ---- configure and makeinstall.

View File

@ -4,7 +4,7 @@
# 2) When making changes, increment the version (in baserelease) by 1. # 2) When making changes, increment the version (in baserelease) by 1.
# rpmdev-bumpspec and other tools update the macro below, which is used # rpmdev-bumpspec and other tools update the macro below, which is used
# in Version: to get the desired effect. # in Version: to get the desired effect.
%global baserelease 295 %global baserelease 296
Summary: Red Hat-family-specific rpm configuration files Summary: Red Hat-family-specific rpm configuration files
Name: redhat-rpm-config Name: redhat-rpm-config
@ -255,6 +255,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua
%doc buildflags.md %doc buildflags.md
%changelog %changelog
* Wed Sep 25 2024 Siddhesh Poyarekar <siddhesh@redhat.com> - 296-1
- Change ppc64le tuning to Power 10 for RHEL10 and beyond.
* Fri Sep 06 2024 Dridi Boukelmoune <dridi@fedoraproject.org> - 295-1 * Fri Sep 06 2024 Dridi Boukelmoune <dridi@fedoraproject.org> - 295-1
- Define %%hare_arches with a list of Hare host architectures - Define %%hare_arches with a list of Hare host architectures