[New-bugs-announce] [issue44340] Add support for building cpython with clang thin lto

Brett Holman report at bugs.python.org
Mon Jun 7 18:38:11 EDT 2021


New submission from Brett Holman <bpholman5 at gmail.com>:

The existing --with-lto argument could be extended to pass through a value to select non-default lto compiler options:

CC=clang ./configure --with-lto=thin

This would allow default behavior to remain unchanged, while allowing those that want to use thin lto to opt in.

For what it's worth, the tests (make test) pass using clang 11.1.0 and thinlto.

----------
components: Interpreter Core
messages: 395293
nosy: holmanb
priority: normal
severity: normal
status: open
title: Add support for building cpython with clang thin lto
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44340>
_______________________________________


More information about the New-bugs-announce mailing list