[cmake-developers] CMake generates Makefiles that don't parallelize as much as they could.

Nick Overdijk nick at astrant.net
Wed Jul 23 09:07:19 EDT 2014


Oh wait, since a is in the interface of b, b will always be accompanied by
a, even though it's not a dependency. Is that how it works?


On Wed, Jul 23, 2014 at 2:58 PM, Nick Overdijk <nick at astrant.net> wrote:

> Thanks for the quick reply, but what if c needs b and b needs a? Adding
> "INTERFACE" will then break the build of course, right, since b isn't
> really linked to a... Or am I mistaken?
>
>
> On Wed, Jul 23, 2014 at 2:36 PM, Brad King <brad.king at kitware.com> wrote:
>
>> On 07/23/2014 08:00 AM, Nick Overdijk wrote:
>> > With this https://github.com/NickNick/cmake-dependency-waiting code
>> here, why do b wait for a and c wait for b to be build? The object files
>> could all be build in parallel right? Not doing it is making my
>> distcc-cluster less and less useful the more nodes I add. Is there a way to
>> fix or work around
>> > this?
>>
>> See here:
>>
>>  http://www.cmake.org/Bug/view.php?id=14726#c35021
>>  http://www.cmake.org/Bug/view.php?id=14726#c35023
>>
>> -Brad
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140723/f1d62787/attachment-0002.html>


More information about the cmake-developers mailing list