GH-133171: Prevent combinations of --disable-gil and --enable-experimental-jit... for now (GH-133179)

This commit is contained in:
Brandt Bucher 2025-05-02 09:26:03 -07:00 committed by GitHub
parent f425509349
commit 2da48e32f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 48 additions and 26 deletions

6
configure generated vendored
View file

@ -10866,6 +10866,12 @@ fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tier2_flags $jit_flags" >&5
printf "%s\n" "$tier2_flags $jit_flags" >&6; }
if test "$disable_gil" = "yes" -a "$enable_experimental_jit" != "no"; then
# GH-133171: This configuration builds the JIT but never actually uses it,
# which is surprising (and strictly worse than not building it at all):
as_fn_error $? "--enable-experimental-jit cannot be used with --disable-gil." "$LINENO" 5
fi
case "$ac_cv_cc_name" in
mpicc)
CFLAGS_NODIST="$CFLAGS_NODIST"