Merge branch 'c10s' into a10s

This commit is contained in:
eabdullin 2024-10-24 10:42:08 +03:00
commit 1c90a6e4b6
3 changed files with 18 additions and 17 deletions

View File

@ -608,18 +608,15 @@ tuning in the `gcc` package. These settings are:
instructs GCC to use the SSE2 unit for floating point math to avoid
excess precision issues. `-mstackrealign` avoids relying on the
stack alignment guaranteed by the current version of the i386 ABI.
* **ppc64le**: `-mcpu=power8 -mtune=power8` selects a minimum
supported CPU level of POWER8 (the first CPU with ppc64le support)
and tunes for POWER8.
* **s390x**: `-march=zEC12 -mtune=z13` specifies a minimum supported
CPU level of zEC12, while optimizing for a subsequent CPU generation
(z13).
* **x86_64**: `-mtune=generic` selects tuning which is expected to
beneficial for a broad range of current CPUs. Distribution-specific
defaults for `-march=x86-64-v2` or `-march=x86-64-v3` may be
applied. The default can be overriden (for any distribution)
by specifying `--target x86_64_v2`, `--target x86_64_v3`,
`--target x86_64_v4` in the `rpmbuild` invocation.
* **ppc64le**: `-mcpu=power9 -mtune=power10` selects a minimum
supported CPU level of POWER9 and tunes for POWER10.
* **s390x**: `-march=z14 -mtune=z15` specifies a minimum supported CPU
level of z14, while optimizing for a subsequent CPU generation
(z15).
* **x86_64**: `-march=x86-64-v3 -mtune=generic` builds for the
[x86-64-v3 micro-architecture level](https://gitlab.com/x86-psABIs/x86-64-ABI/-/blob/master/x86-64-ABI/low-level-sys-info.tex)
and selects tuning which is expected to beneficial for a broad range
of current CPUs.
With the GCC toolchain, TLS descriptors are enabled using
`-mtls-dialect=gnu2`.
* **aarch64** does not have any architecture-specific tuning.

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,9 +259,12 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua
%doc buildflags.md
%changelog
* Wed Jul 17 2024 Eduard Abdullin <eabdullint@almalinux.org> - 285-1.alma.1
* Thu Oct 24 2024 Eduard Abdullin <eabdullint@almalinux.org> - 286-1.alma.1
- Enable frame pointers for AlmaLinux 10+
* 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