See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/6TQYCHMX4FZLF27U5BCEC7IFV6XNBKJP/ for rationale, namely https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/message/ZVDEXGPU6JQFXB3XHYZ4IXVQNNR3YM3V/ Summary: Python is currently slower with frame pointers due to a slowdown in _PyEval_EvalFrameDefault, but we expect this to be solved in Python 3.12. Tracking bugzilla: https://bugzilla.redhat.com/2158729 This change does not require a release bump. It is only needed to be here to prevent the next builds from including frame pointers.
This commit is contained in:
parent
8d2dded310
commit
60835d7222
1 changed files with 5 additions and 0 deletions
|
|
@ -231,6 +231,11 @@ License: Python and MIT and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (
|
|||
%global wordsize 32
|
||||
%endif
|
||||
|
||||
# Opt-out from https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
|
||||
# Python is slower with frame pointers, but we expect to remove this in Python 3.12+
|
||||
# See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/6TQYCHMX4FZLF27U5BCEC7IFV6XNBKJP/
|
||||
# Tracking bugzilla: https://bugzilla.redhat.com/2158729
|
||||
%undefine _include_frame_pointers
|
||||
|
||||
# =======================
|
||||
# Build-time requirements
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue