The package rpms/python3.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python3.git/commit/?id=7b9cec6bb1....
Change:
-%ifarch %{ix86} x86_64
Thanks.
Full change:
============
commit 7b9cec6bb1e84f7a87076dd7048e67fc786f9576
Author: Miro Hronok <miro(a)hroncok.cz>
Date: Thu Aug 15 16:51:16 2019 +0200
Enable Profile-guided optimization for all arches, not just x86
This increases the build time (to ~2 hours on armv7hl Koji),
but should bring more optimized Python to architectures other than x86.
The build time overhead is not so big on Python 3.8,
as only a limited number of tests is used.
Resolves
https://bugzilla.redhat.com/show_bug.cgi?id=1741015
diff --git a/python3.spec b/python3.spec
index ab617df..eb31413 100644
--- a/python3.spec
+++ b/python3.spec
@@ -17,7 +17,7 @@ URL:
https://www.python.org/
%global prerel b3
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
-Release: 3%{?dist}
+Release: 4%{?dist}
License: Python
@@ -52,13 +52,7 @@ License: Python
%bcond_without rpmwheels
# Expensive optimizations (mainly, profile-guided optimizations)
-%ifarch %{ix86} x86_64
%bcond_without optimizations
-%else
-# On some architectures, the optimized build takes tens of hours, possibly
-# longer than Koji's 24-hour timeout. Disable optimizations here.
-%bcond_with optimizations
-%endif
# Run the test suite in %%check
%bcond_without tests
@@ -1528,6 +1522,9 @@ CheckPython optimized
# ======================================================
%changelog
+* Thu Aug 15 2019 Miro Hronok <mhroncok(a)redhat.com> - 3.8.0~b3-4
+- Enable Profile-guided optimization for all arches, not just x86 (#1741015)
+
* Wed Aug 14 2019 Miro Hronok <mhroncok(a)redhat.com> - 3.8.0~b3-3
- Rebuilt for Python 3.8