Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlazydodo <github@lazydodo.com>2017-05-04 00:15:35 +0300
committerlazydodo <github@lazydodo.com>2017-05-04 00:15:35 +0300
commitad8587b7980c836e6b65955398f2b970401823fb (patch)
tree596c3254248112568818f7d9314fd58bc40d099a
parentc171f0b3c96cb2d01fd6b6919f4dbec1a81c8da9 (diff)
[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.
-rw-r--r--make.bat4
1 files changed, 2 insertions, 2 deletions
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