Tune for z16 on s390x by default on RHEL10 and later

Resolves: RHEL-94282
This commit is contained in:
Siddhesh Poyarekar 2025-06-12 07:28:24 -04:00
parent 52d5c61987
commit 973853c2ee

View File

@ -171,7 +171,7 @@ BuildRequires: gcc-toolset-%{gts_ver}-devel
Summary: GCC version %{gcc_major}
Name: %{?scl_prefix}gcc
Version: %{gcc_version}
Release: %{gcc_release}.1%{?dist}
Release: %{gcc_release}.2%{?dist}
# License notes for some of the less obvious ones:
# gcc/doc/cppinternals.texi: Linux-man-pages-copyleft-2-para
# isl: MIT, BSD-2-Clause
@ -1035,7 +1035,9 @@ CONFIGURE_OPTS="\
%if 0%{?rhel} >= 7
%if 0%{?rhel} > 7
%if 0%{?rhel} > 8
%if 0%{?rhel} >= 9
%if 0%{?rhel} >= 10
--with-arch=z14 --with-tune=z16 \
%elif 0%{?rhel} >= 9
--with-arch=z14 --with-tune=z15 \
%else
--with-arch=z13 --with-tune=arch13 \
@ -2892,6 +2894,9 @@ fi
%endif
%changelog
* Thu Jun 12 2025 Siddhesh Poyarekar <siddhesh@redhat.com> 15.1.1-2.2
- Tune for z16 on s390x by default on RHEL10 and later (RHEL-94282)
* Fri Jun 6 2025 Marek Polacek <polacek@redhat.com> 15.1.1-2.1
- configure with --enable-host-pie --enable-host-bind-now (RHEL-95595)