You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ko...@apache.org on 2022/12/15 10:09:50 UTC

svn commit: r1906011 - /subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt

Author: kotkov
Date: Thu Dec 15 10:09:50 2022
New Revision: 1906011

URL: http://svn.apache.org/viewvc?rev=1906011&view=rev
Log:
Use `/MP` (Build with multiple processes [1]) when compiling on Windows.

I tested a couple of build environments, and enabling this option seems to
improve the build times by ~20-30 seconds.  For example, 4:38 → 4:19.

[1] https://learn.microsoft.com/en-us/cpp/build/reference/mp-build-with-multiple-processes

* build/generator/templates/vcnet_vcxproj.ezt
  (): Enable multi-processor compilation.

Modified:
    subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt

Modified: subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt
URL: http://svn.apache.org/viewvc/subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt?rev=1906011&r1=1906010&r2=1906011&view=diff
==============================================================================
--- subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt (original)
+++ subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt Thu Dec 15 10:09:50 2022
@@ -66,6 +66,7 @@
       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
       <DisableSpecificWarnings>4100;4127;4206;4512;4701;4706;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
       <TreatSpecificWarningsAsErrors>4002;4003;4013;4020;4022;4024;4028;4029;4030;4031;4033;4047;4089;4113;4133;4204;4700;4715;4789;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
 [if-any configs.forced_include_files]      <ForcedIncludeFiles>[for configs.forced_include_files][configs.forced_include_files];[end]%(ForcedIncludeFiles)</ForcedIncludeFiles>
 [end]    </ClCompile>
     <ResourceCompile>