VS10 & Parallel Builds?

Hi,

Has anyone tried using msbuild and the CMake generated project files
to do parallel builds?

I ask because I see spurious failures when doing so. MSBuild ends up
complaining about not being able to write the log files for the custom
builds steps, because they are already in use.

I suspect this is a CMake or MSBuild bug, but I don't know enough to
track it down. Does anyone else have any hints?

Here is an example of the kind of failures I see:

I did it a few times from the IDE (quadcore). Never had the problem
you mention. Then I went back to VS2008 because VS2010 IDE is too
slow.

Are you building from the command line? What command exactly are you
using... i can try it.

Hi,

Has anyone tried using msbuild and the CMake generated project files
to do parallel builds?

I did it a few times from the IDE (quadcore). Never had the problem
you mention. Then I went back to VS2008 because VS2010 IDE is too
slow.

Are you building from the command line? What command exactly are you
using... i can try it.
_______________________________________________

VS2010 has some issues compared to VS2008, regularly I have problem on
a big project(c++/managed c++/.net) with it because some MSBuild zombie
are created. If sometimes you get some weirds errors, close Visual and
start Process explorer.
Very often you can see that some MSbuild.exe still running.
So I am not surprised you have that kind of issues.

Hi,

Has anyone tried using msbuild and the CMake generated project files
to do parallel builds?

I did it a few times from the IDE (quadcore). Never had the problem
you mention. Then I went back to VS2008 because VS2010 IDE is too
slow.

Are you building from the command line? What command exactly are you
using... i can try it.

I am just trying "msbuild /m:4 LLVN.sln /p:Configuration=Release
/p:Platform=Win32"
(typed from memory, I don't have the machine in front of me at the moment).

- Daniel