Building agent does not use all CPUs
Hi,Building a solution, using VS2010 Pro, building machine Win2008 R2. I see only one cl.exe process is running, the machine is barely loaded. the same is observed on the rest of agent. Am I missing something in agent config???
Please sign in to leave a comment.
Parallel compilation is a feature of a build tool, so such kind of settings are configured inside VS project, not in TeamCity.
I found this page on StackOverflow with some solutions and links:
How to do a parallel build in Visual Studio 2010
sounds reasonable, will check the /MP options in compiler settings.
Thanks
/MP in project and /M in MSBuild settings did the the trick. Thanks!