Allow to pass custom CFLAGS and LDFLAGS to the compilation of builtin extension modules
Open
Nobody has claimed this yet.
build
extension-modules
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
This gives redistributors more control over the compilation flags of the extension modules. This allows among other things to pass custom RPATH/RUNPATH values that point to the correct PLATDIR
Check https://github.com/python/cpython/pull/131781 for the discussion and rationale of why we decided to allow this
Linked PRs
- gh-131847
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.
Research direction
Start by reading the linked discussion in PR 131781 and the linked PR gh-131847 for the rationale and intended scope. Then locate CPython's builtin extension compilation path; done means custom CFLAGS and LDFLAGS can be supplied and used for those modules, including RPATH/RUNPATH values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100