diff options
author | Lukas van de Wiel <30800501+LukasvdWiel@users.noreply.github.com> | 2023-07-22 23:20:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 23:20:03 (GMT) |
commit | 9a6b278769b9f24e0650283f6c347db8ae52b7b3 (patch) | |
tree | fd01b4b2d2903026c0c3d052f98c9c88dbc5f1c0 /configure | |
parent | 3aeffc0d8f28655186f99d013ee9653c65b92f84 (diff) | |
download | cpython-9a6b278769b9f24e0650283f6c347db8ae52b7b3.zip cpython-9a6b278769b9f24e0650283f6c347db8ae52b7b3.tar.gz cpython-9a6b278769b9f24e0650283f6c347db8ae52b7b3.tar.bz2 |
gh-106962: Detect mpicc in configure.ac (#106961)
Don't let autoconf mistake MPI compilers for Intel compilers;
filter out the MPI case to prevent Intel specific options from being applied.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -10154,6 +10154,9 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ esac case "$CC" in +*mpicc*) + CFLAGS_NODIST="$CFLAGS_NODIST" + ;; *icc*) # ICC needs -fp-model strict or floats behave badly CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict" |