Commit: ad8587b7980c836e6b65955398f2b970401823fb
Author: lazydodo
Date:   Wed May 3 15:15:35 2017 -0600
Branches: master
https://developer.blender.org/rBad8587b7980c836e6b65955398f2b970401823fb

[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.

===================================================================

M       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

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to