[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.
This commit is contained in:
4
make.bat
4
make.bat
@@ -257,7 +257,7 @@ echo msbuild ^
|
|||||||
%BUILD_DIR%\Blender.sln ^
|
%BUILD_DIR%\Blender.sln ^
|
||||||
/target:build ^
|
/target:build ^
|
||||||
/property:Configuration=%BUILD_TYPE% ^
|
/property:Configuration=%BUILD_TYPE% ^
|
||||||
/maxcpucount ^
|
/maxcpucount:2 ^
|
||||||
/verbosity:minimal ^
|
/verbosity:minimal ^
|
||||||
/p:platform=%MSBUILD_PLATFORM% ^
|
/p:platform=%MSBUILD_PLATFORM% ^
|
||||||
/flp:Summary;Verbosity=minimal;LogFile=%BUILD_DIR%\Build.log >> %BUILD_DIR%\rebuild.cmd
|
/flp:Summary;Verbosity=minimal;LogFile=%BUILD_DIR%\Build.log >> %BUILD_DIR%\rebuild.cmd
|
||||||
@@ -273,7 +273,7 @@ msbuild ^
|
|||||||
%BUILD_DIR%\Blender.sln ^
|
%BUILD_DIR%\Blender.sln ^
|
||||||
/target:build ^
|
/target:build ^
|
||||||
/property:Configuration=%BUILD_TYPE% ^
|
/property:Configuration=%BUILD_TYPE% ^
|
||||||
/maxcpucount ^
|
/maxcpucount:2 ^
|
||||||
/verbosity:minimal ^
|
/verbosity:minimal ^
|
||||||
/p:platform=%MSBUILD_PLATFORM% ^
|
/p:platform=%MSBUILD_PLATFORM% ^
|
||||||
/flp:Summary;Verbosity=minimal;LogFile=%BUILD_DIR%\Build.log
|
/flp:Summary;Verbosity=minimal;LogFile=%BUILD_DIR%\Build.log
|
||||||
|
|||||||
Reference in New Issue
Block a user