[cfe-dev] RFC: Upcoming Build System Changes

David A. Greene greened at obbligato.org
Tue Nov 1 12:20:48 PDT 2011


Óscar Fuentes <ofv at wanadoo.es> writes:

> Chris Lattner <clattner at apple.com> writes:
>
>> There are different overheads in different scenarios.  The makefiles
>> get really poor utilization out of a 8 or 16-way machine because of
>> implicit synchronization between different sublibraries.
>
> BTW, adding explicit library dependencies will make the parallel builds
> worse, 

No they won't, for exactly the reason Chris stated.

> because you know when a dependency is missing (the build fails)
> but you don't know when a dependency is superfluous.

That's true but is not a show-stopper IME.  It's easier to remove
superfluous dependencies than try to track down a missing one in a
recursive make build.

                        -Dave




More information about the cfe-dev mailing list