Skip to content

Commit b400871

Browse files
Rename to enable-stackref-debug and add help line
1 parent 631bacc commit b400871

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PCbuild/build.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ echo. --experimental-jit-off Ditto but off by default (PYTHON_JIT=1 enable
4141
echo. --experimental-jit-interpreter Enable the experimental Tier 2 interpreter.
4242
echo. --pystats Enable PyStats collection.
4343
echo. --tail-call-interp Enable tail-calling interpreter (requires LLVM 19 or higher).
44+
echo. --enable-stackref-debug Enable stackref debugging mode.
4445
echo.
4546
echo.Available flags to avoid building certain modules.
4647
echo.These flags have no effect if '-e' is not given:
@@ -98,6 +99,7 @@ if "%~1"=="--experimental-jit-interpreter-off" (set UseTIER2=6) & shift & goto C
9899
if "%~1"=="--without-remote-debug" (set DisableRemoteDebug=true) & shift & goto CheckOpts
99100
if "%~1"=="--pystats" (set PyStats=1) & shift & goto CheckOpts
100101
if "%~1"=="--tail-call-interp" (set UseTailCallInterp=true) & shift & goto CheckOpts
102+
if "%~1"=="--enable-stackref-debug" (set StackRefDebug=true) & shift & goto CheckOpts
101103
rem These use the actual property names used by MSBuild. We could just let
102104
rem them in through the environment, but we specify them on the command line
103105
rem anyway for visibility so set defaults after this
@@ -106,7 +108,6 @@ if "%~1"=="-E" (set IncludeExternals=false) & shift & goto CheckOpts
106108
if "%~1"=="--no-ctypes" (set IncludeCTypes=false) & shift & goto CheckOpts
107109
if "%~1"=="--no-ssl" (set IncludeSSL=false) & shift & goto CheckOpts
108110
if "%~1"=="--no-tkinter" (set IncludeTkinter=false) & shift & goto CheckOpts
109-
if "%~1"=="--stackref-debug" (set StackRefDebug=true) & shift & goto CheckOpts
110111

111112
if "%IncludeExternals%"=="" set IncludeExternals=true
112113
if "%IncludeCTypes%"=="" set IncludeCTypes=true

0 commit comments

Comments
 (0)