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