summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorJeremy Kloth <jeremy.kloth@gmail.com>2022-02-17 18:40:33 (GMT)
committerGitHub <noreply@github.com>2022-02-17 18:40:33 (GMT)
commit98dd0aec2d0cb8971fb5363532c25041a5ba6fdc (patch)
tree51512fc0bc3110fb2c42493bfb393582e03c0e8c /PCbuild
parent2945f5a7c51200bfc5c493ccb626fc414e1385b1 (diff)
downloadcpython-98dd0aec2d0cb8971fb5363532c25041a5ba6fdc.zip
cpython-98dd0aec2d0cb8971fb5363532c25041a5ba6fdc.tar.gz
cpython-98dd0aec2d0cb8971fb5363532c25041a5ba6fdc.tar.bz2
bpo-46778: Enable multiprocess compilation for source files when building on Windows (GH-31390)
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/pyproject.props1
1 files changed, 1 insertions, 0 deletions
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index 3465ade..8d24393 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -45,6 +45,7 @@
<WholeProgramOptimization>true</WholeProgramOptimization>
<ControlFlowGuard Condition="$(EnableControlFlowGuard) != ''">$(EnableControlFlowGuard)</ControlFlowGuard>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Condition="$(Configuration) == 'Debug'">
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>