mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
GH-133171: Prevent combinations of --disable-gil and --enable-experimental-jit... for now (GH-133179)
This commit is contained in:
parent
f425509349
commit
2da48e32f6
5 changed files with 48 additions and 26 deletions
6
configure
generated
vendored
6
configure
generated
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue