From ee457d54d7b5ecb9654400c2a7024819e6dd9f66 Mon Sep 17 00:00:00 2001 From: neonene Date: Sun, 20 Feb 2022 17:01:21 +0900 Subject: [PATCH] git config --- .github/workflows/build.yml | 4 ++-- PCbuild/build.bat | 1 + PCbuild/pythoncore.vcxproj | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d36dffa80108b..20909e5df43969 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -111,7 +111,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 @@ -130,7 +130,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 8f9c4fe63b8dc9..e3a67864697a84 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)