Title: Add support for building cpython with clang thin lto
Type: enhancement Stage: patch review
Components: Build Versions:
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: FFY00, corona10, gregory.p.smith, holmanb
Priority: normal Keywords: patch

Created on 2021-06-07 22:38 by holmanb, last changed 2021-06-11 19:01 by FFY00.

Pull Requests
URL Status Linked Edit
PR 26585 open holmanb, 2021-06-07 22:47
Messages (1)
msg395293 - (view) Author: Brett Holman (holmanb) * Date: 2021-06-07 22:38
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.
Date User Action Args
2021-06-11 19:01:34FFY00setnosy: + FFY00
2021-06-10 00:00:14corona10setnosy: + corona10
2021-06-08 23:20:28ned.deilysetnosy: + gregory.p.smith
components: + Build, - Interpreter Core
2021-06-07 22:47:48holmanbsetkeywords: + patch
stage: patch review
pull_requests: + pull_request25169
2021-06-07 22:38:11holmanbcreate