From ad8587b7980c836e6b65955398f2b970401823fb Mon Sep 17 00:00:00 2001 From: lazydodo Date: Wed, 3 May 2017 15:15:35 -0600 Subject: [msvc/make.bat] Limit the amount of simultaneously compiled projects. This was set to maxcpu which in an 8 core box would be 8, each project would then spawn 8 instances of cl.exe, making a possible of 64 simultaneously running compiler instances slowing the compile down instead of speeding it up. --- make.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make.bat') diff --git a/make.bat b/make.bat index f818df5fcc1..988cb5f4c68 100644 --- a/make.bat +++ b/make.bat @@ -257,7 +257,7 @@ echo msbuild ^ %BUILD_DIR%\Blender.sln ^ /target:build ^ /property:Configuration=%BUILD_TYPE% ^ - /maxcpucount ^ + /maxcpucount:2 ^ /verbosity:minimal ^ /p:platform=%MSBUILD_PLATFORM% ^ /flp:Summary;Verbosity=minimal;LogFile=%BUILD_DIR%\Build.log >> %BUILD_DIR%\rebuild.cmd @@ -273,7 +273,7 @@ msbuild ^ %BUILD_DIR%\Blender.sln ^ /target:build ^ /property:Configuration=%BUILD_TYPE% ^ - /maxcpucount ^ + /maxcpucount:2 ^ /verbosity:minimal ^ /p:platform=%MSBUILD_PLATFORM% ^ /flp:Summary;Verbosity=minimal;LogFile=%BUILD_DIR%\Build.log -- cgit v1.2.3