Issue 44832: Compiler detection is not strict enough

Created on 2021-08-04 17:52 by mathstuf, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (1)
msg398920 - (view) Author: Ben Boeckel (mathstuf) Date: 2021-08-04 17:52
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.
History
Date User Action Args
2022-04-11 14:59:48adminsetgithub: 88995
2022-03-19 16:05:54iritkatrielsetstatus: open -> closed
superseder: ICC compiler check is too permissive
resolution: duplicate
stage: resolved
2021-08-04 17:52:17mathstufcreate