From a7b3883c248095bc75945d915f8ca29f43def9e8 Mon Sep 17 00:00:00 2001 From: Dingli Zhang Date: Thu, 11 Jul 2024 05:23:15 +0000 Subject: [PATCH] Enable profile guided optimizations for some architectures (cherry picked from commit c5bcb585c21d2afc622b934ba6d4aac907215c61) --- python3.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/python3.spec b/python3.spec index c9bd60c..4d35056 100644 --- a/python3.spec +++ b/python3.spec @@ -3,14 +3,14 @@ Summary: Interpreter of the Python3 programming language URL: https://www.python.org/ Version: 3.11.6 -Release: 4 +Release: 5 License: Python-2.0 %global branchversion 3.11 %global pyshortver 311 -%ifarch %{ix86} x86_64 -%bcond_with optimizations +%ifarch %{ix86} x86_64 aarch64 riscv64 +%bcond_without optimizations %else %bcond_with optimizations %endif @@ -860,6 +860,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP" %{_mandir}/*/* %changelog +* Thu Jul 11 2024 Dingli Zhang - 3.11.6-5 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:enable profile guided optimizations for some architectures + * Tue Jun 25 2024 peng.zou - 3.11.6-4 - Type:bugfix - CVE:NA -- Gitee