Make BOLT as stable feature
Open
@corona10 is already working on this.
Since Feb 2, 2023.
build
performance
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
Using a BOLT still not guarantee the unexpected behavior changes.
For example, I observed that https://github.com/python/cpython/issues/53093 is raised if the binary is optimized by BOLT.
We can reduce several too aggressive optimization.
- #128514
- Choose the APIs that should not be optimized BOLT (e.g -skip-funcs)
- Update libregrtest.utils.get_build_info()
- Update
make testto work correctly (Should skip the BOLT phase if the binary is already BOLTed) - Define minimum LLVM version
- https://github.com/python/cpython/issues/101282
- https://github.com/python/cpython/issues/128515
cc @aaupov
Linked PRs
- gh-103187
- gh-103574
- gh-118572
- gh-123601
- gh-123603
- gh-134642
- gh-139840
- gh-140203
- gh-140250
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.