[Bug 261974] lang/python311: Enable Link Time Optimization (via autoconf)
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 261974] lang/python311: add --enable-lto"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Feb 2022 20:34:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261974
Piotr Kubaj <pkubaj@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #231841|0 |1
is obsolete| |
Attachment #231841|maintainer-approval?(python |
Flags|@FreeBSD.org) |
--- Comment #6 from Piotr Kubaj <pkubaj@FreeBSD.org> ---
Created attachment 232057
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232057&action=edit
v2
Here's the patch for all Python 3 versions. Only Python 3.11 supports Thin LTO.
Python 2.7 supports LTO but using it requires --enable-optimizations. Once this
patch is committed, I plan to do the next one for --enable-optimizations and
then will enable LTO for 2.7.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.