python / python/cpython

Configure script output doesn't mention CXX

未關閉
#156,895 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

build type-bug
主要語言
Python
星號
77.2k
分支
36k
PR 合併指標
PR 指標待擷取

描述

Bug report

Bug description:

I was having trouble getting test_cppext to pass on both my Mac and Ubuntu laptops. (Oddly enough, while running that test in isolation, it passed.) It succeeded on my Raspberry Pi. Trying to figure out what I'd done wrong, I noticed that I was setting CC=clang except on the Pi, but wasn't specifying a C++ compiler. I don't know what logic configure uses to set the C++ compiler if CC is set, but figured I could probably override it. ./configure --help doesn't mention anything C++-related, but CXX is referenced in configure.ac.

Thinking I'd hit on the solution by specifying CXX=clag++, I tried again. Alas, I still get the test_cppext failure and will continue to hunt for that problem. Nevertheless, it seems to me that ./configure --help should mention the CXX variable.

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS, Linux

Linked PRs
  • gh-157046

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

該 issue 指向 configure.ac 和 ./configure --help;首先閱讀 configure.ac 中對 CXX 的處理,並檢查產生的說明輸出。完成的標準是說明輸出包含對 CXX 的說明;PR gh-157046 已經關聯,因此在開始前檢查其狀態。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
build-system
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。