Subject: Re: [boost] [1.58.0] Release candidates available
From: Bjørn Roald (bjorn_at_[hidden])
Date: 2015-04-08 00:13:06
On 08. april 2015 01:47, Gavin Lambert wrote:
> On 8/04/2015 09:33, Chris Glover wrote:
>>> A boolean value that indicates whether project references are built or
>>> cleaned in parallel when Multi-Proc MSBuild is used. The default value
>>> is true, which means that projects will be built in parallel if the
>>> system has multiple cores or processors.
>> I don't think this means what you think it means -- as far as I
>> this means that individual 'projects' will be built in parallel
>> relative to
>> each other only. Thus, if you only have one project, then by default you
>> do not get a parallel build. As far as I know, there is no way in MSBuild
>> to get a single project to build individual source files in parallel.
>> I would love to be corrected about that.
> Not in MSBUILD, but for example CL supports the /MP option which if
> specified will tell it to compile separate compilation units in
> parallel. (The default, however, is not to do that.)
Then you have to list more than one source file for each cl invocation,
which is fast, possibly for other reasons. Ant actually did that many
years ago when I used it for some C++ work. I do not remember if there
was a flag for parallel build added by Ant.