python / python/cpython

Configure script output doesn't mention CXX

未关闭
#156,895 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

build type-bug
主要语言
Python
星标
77.2k
派生
35.9k
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 摘要。