From 9c9959a813cc7c00a094fdd3ff1728e48fb296a7 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 24 Sep 2024 22:10:13 -0400 Subject: [PATCH] Default tuning to power 10 for RHEL10 and later Resolves: RHEL-56476 --- gcc.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc.spec b/gcc.spec index 215bb29..b1bc084 100644 --- a/gcc.spec +++ b/gcc.spec @@ -4,7 +4,7 @@ %global gcc_major 14 # Note, gcc_release must be integer, if you want to add suffixes to # %%{release}, append them after %%{gcc_release} on Release: line. -%global gcc_release 1 +%global gcc_release 2 %global nvptx_tools_gitrev 87ce9dc5999e5fca2e1d3478a30888d9864c9804 %global newlib_cygwin_gitrev d45261f62a15f8abd94a1031020b9a9f455e4eed %global _unpackaged_files_terminate_build 0 @@ -1188,7 +1188,11 @@ CONFIGURE_OPTS="\ %endif %ifarch ppc64le %if 0%{?rhel} >= 9 +%if 0%{?rhel} >= 10 + --with-cpu-32=power9 --with-tune-32=power10 --with-cpu-64=power9 --with-tune-64=power10 \ +%else --with-cpu-32=power9 --with-tune-32=power9 --with-cpu-64=power9 --with-tune-64=power9 \ +%endif %else --with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \ %endif @@ -3616,6 +3620,9 @@ end %endif %changelog +* Wed Sep 25 2024 Siddhesh Poyarekar 14.2.1-2 +- Default tuning to power 10 for RHEL10 and later (RHEL-56476). + * Thu Aug 1 2024 Jakub Jelinek 14.2.1-1 - update from releases/gcc-14 branch - GCC 14.2 release