[WIP] Various build system improvements by indygreg · Pull Request #101093 · python/cpython · GitHub

github.com

Tin mới

indygreg:build-system-fixes

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

https://github.com/indygreg/python-build-standalone

I'm creating this PR to track various build system changes that I'd like to make to CPython.

https://github.com/python/cpython/blob/main/configure.ac#L1950-1952

Sidenote: BOLT now supports DWARF5, so there's no need to force -gdwarf-4

Drop -gdwarf-4 flag from the BOLT build. #101278

Enhance the BOLT build process #101282

gh-104490: Consistently define phony make targets #104491

gh-101282: move BOLT config after PGO #104493

Overhaul build system rules related to profiling #104523

: inline minimal PGO rules

gh-xxxx: overhaul build rules for optimized binaries

gh-xxxx: move BOLT arguments to configure

gh-xxxx: run BOLT instrumented binary with $(RUNSHARED)

gh-xxxx: enable BOLT optimization of libpython

gh-xxxx: expose _PYTHON_HOST_PLATFORM as a settable variable

: rework the BOLT build process

gh-101282: Apply BOLT optimisations to libpython for shared builds #104709

: rework the BOLT build process

github-actions Bot commented Apr 12, 2026

github-actions Bot commented Apr 12, 2026

This PR is stale because it has been open for 30 days with no activity.