python / python/cpython

Configure script output doesn't mention CXX

Aberta
#156,895 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

build type-bug
Linguagem predominante
Python
Estrelas
77.2k
Forks
36k
Métricas de merge de PRs
Métricas de PR pendentes

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

A issue aponta para configure.ac e ./configure --help; comece lendo o tratamento de CXX em configure.ac e verificando a saída de ajuda gerada. A tarefa estará concluída quando a saída de ajuda documentar CXX; o PR gh-157046 já está vinculado, então verifique o status dele antes de começar.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
python
Domínio
build-system
Tipo de issue
Bug
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.