mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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
|
@ -123,6 +123,13 @@ if "%do_pgo%" EQU "true" if "%platf%" EQU "x64" (
|
|||
)
|
||||
)
|
||||
|
||||
if "%UseDisableGil%" EQU "true" if "%UseTIER2%" NEQ "" (
|
||||
rem GH-133171: This configuration builds the JIT but never actually uses it,
|
||||
rem which is surprising (and strictly worse than not building it at all):
|
||||
echo.ERROR: --experimental-jit cannot be used with --disable-gil.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if not exist "%GIT%" where git > "%TEMP%\git.loc" 2> nul && set /P GIT= < "%TEMP%\git.loc" & del "%TEMP%\git.loc"
|
||||
if exist "%GIT%" set GITProperty=/p:GIT="%GIT%"
|
||||
if not exist "%GIT%" echo Cannot find Git on PATH & set GITProperty=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue