@@ -33,6 +33,7 @@ echo. -k Attempt to kill any running Pythons before building (usually done
33
33
echo . automatically by the pythoncore project)
34
34
echo . --pgo Build with Profile-Guided Optimization. This flag
35
35
echo . overrides -c and -d
36
+ echo . --disable-gil Enable experimental support for running without the GIL.
36
37
echo . --test-marker Enable the test marker within the build.
37
38
echo . --regen Regenerate all opcodes, grammar and tokens.
38
39
echo .
@@ -80,6 +81,7 @@ if "%~1"=="-q" (set verbose=/v:q /nologo /clp:summary) & shift & goto CheckOpts
80
81
if " %~1 " == " -k" (set kill=true) & shift & goto CheckOpts
81
82
if " %~1 " == " --pgo" (set do_pgo=true) & shift & goto CheckOpts
82
83
if " %~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
83
85
if " %~1 " == " --test-marker" (set UseTestMarker=true) & shift & goto CheckOpts
84
86
if " %~1 " == " -V" shift & goto Version
85
87
if " %~1 " == " --regen" (set Regen=true) & shift & goto CheckOpts
@@ -172,6 +174,7 @@ echo on
172
174
/p:IncludeExternals=%IncludeExternals% ^
173
175
/p:IncludeCTypes=%IncludeCTypes% ^
174
176
/p:IncludeSSL=%IncludeSSL% /p:IncludeTkinter=%IncludeTkinter% ^
177
+ /p:DisableGil=%UseDisableGil% ^
175
178
/p:UseTestMarker=%UseTestMarker% %GITProperty% ^
176
179
%1 %2 %3 %4 %5 %6 %7 %8 %9
177
180
0 commit comments