@@ -33,6 +33,7 @@ echo. -k Attempt to kill any running Pythons before building (usually done
3333echo . automatically by the pythoncore project)
3434echo . --pgo Build with Profile-Guided Optimization. This flag
3535echo . overrides -c and -d
36+ echo . --disable-gil Enable experimental support for running without the GIL.
3637echo . --test-marker Enable the test marker within the build.
3738echo . --regen Regenerate all opcodes, grammar and tokens.
3839echo .
@@ -80,6 +81,7 @@ if "%~1"=="-q" (set verbose=/v:q /nologo /clp:summary) & shift & goto CheckOpts
8081if " %~1 " == " -k" (set kill=true) & shift & goto CheckOpts
8182if " %~1 " == " --pgo" (set do_pgo=true) & shift & goto CheckOpts
8283if " %~1 " == " --pgo-job" (set do_pgo=true) & (set pgo_job=%~2 ) & shift & shift & goto CheckOpts
84+ if " %~1 " == " --disable-gil" (set UseDisableGil=true) & shift & goto CheckOpts
8385if " %~1 " == " --test-marker" (set UseTestMarker=true) & shift & goto CheckOpts
8486if " %~1 " == " -V" shift & goto Version
8587if " %~1 " == " --regen" (set Regen=true) & shift & goto CheckOpts
@@ -172,6 +174,7 @@ echo on
172174 /p:IncludeExternals=%IncludeExternals% ^
173175 /p:IncludeCTypes=%IncludeCTypes% ^
174176 /p:IncludeSSL=%IncludeSSL% /p:IncludeTkinter=%IncludeTkinter% ^
177+ /p:DisableGil=%UseDisableGil% ^
175178 /p:UseTestMarker=%UseTestMarker% %GITProperty% ^
176179 %1 %2 %3 %4 %5 %6 %7 %8 %9
177180
0 commit comments