diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8b1709d37f9aa5..e4aa8a40eb01fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -113,7 +113,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build CPython - run: .\PCbuild\build.bat -e -p Win32 + run: .\PCbuild\build.bat -e -p Win32 --inlinestat timeout-minutes: 30 - name: Display build info run: .\python.bat -m test.pythoninfo @@ -132,7 +132,7 @@ jobs: - name: Register MSVC problem matcher run: echo "::add-matcher::.github/problem-matchers/msvc.json" - name: Build CPython - run: .\PCbuild\build.bat -e -p x64 + run: .\PCbuild\build.bat -e -p x64 --inlinestat timeout-minutes: 30 - name: Display build info run: .\python.bat -m test.pythoninfo diff --git a/PCbuild/build.bat b/PCbuild/build.bat index d333ceabd2e53a..5bb0c174f678f2 100644 --- a/PCbuild/build.bat +++ b/PCbuild/build.bat @@ -91,6 +91,7 @@ if "%~1"=="-E" (set IncludeExternals=false) & shift & goto CheckOpts if "%~1"=="--no-ctypes" (set IncludeCTypes=false) & shift & goto CheckOpts if "%~1"=="--no-ssl" (set IncludeSSL=false) & shift & goto CheckOpts if "%~1"=="--no-tkinter" (set IncludeTkinter=false) & shift & goto CheckOpts +if "%~1"=="--inlinestat" (set InlineStat=true) & shift & goto CheckOpts if "%IncludeExternals%"=="" set IncludeExternals=true if "%IncludeCTypes%"=="" set IncludeCTypes=true diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 3686233a1ad503..36647a85b7aebf 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -100,6 +100,8 @@ /Zm200 %(AdditionalOptions) + /d2inlinelogfull:FrameDefault %(AdditionalOptions) + /d2inlinelogfull:FrameDefault %(AdditionalOptions) $(PySourcePath)Python;%(AdditionalIncludeDirectories) $(zlibDir);%(AdditionalIncludeDirectories) _USRDLL;Py_BUILD_CORE;Py_BUILD_CORE_BUILTIN;Py_ENABLE_SHARED;MS_DLL_ID="$(SysWinVer)";%(PreprocessorDefinitions)