[New-bugs-announce] [issue44832] Compiler detection is not strict enough

Ben Boeckel report at bugs.python.org
Wed Aug 4 13:52:17 EDT 2021


New submission from Ben Boeckel <bugs.python at me.benboeckel.net>:

Generally, the `configure.ac` script tries to detect compilers based on the path to the compiler. This is mostly fine, but trips up when using `mpicc` as the compiler. Even if the underlying compiler is `gcc`, this gets detected as `icc` in various situations.

The best solution is to do some compiler introspection like CMake does to determine what the compiler actually is, but I'm not familiar with the patterns used or available tools in autotools for such things.

----------
components: Build
messages: 398920
nosy: mathstuf
priority: normal
severity: normal
status: open
title: Compiler detection is not strict enough
type: behavior
versions: Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44832>
_______________________________________


More information about the New-bugs-announce mailing list