Allow to pass custom CFLAGS and LDFLAGS to the compilation of builtin extension modules
未關閉
還沒有人認領這個 Issue。
build
extension-modules
type-feature
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先閱讀 PR 131781 中連結的討論以及連結的 PR gh-131847,以了解其理由和預期範圍。接著找出 CPython 的 builtin 擴充功能編譯路徑;當可以為這些模組提供並使用自訂的 CFLAGS 和 LDFLAGS(包括 RPATH/RUNPATH 值)時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- build-system
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100