[oe] PARALLEL_MAKE

Tom Rini trini at kernel.crashing.org
Fri Mar 13 16:57:29 UTC 2009


On Fri, Mar 13, 2009 at 05:20:51PM +0100, Frans Meulenbroeks wrote:

> I'm not sure how PARALLEL_MAKE is supposed to work, but I noticed that
> often there is a problem because with it a package on which there is a
> dependency is build in parallel. Since there is a dependency in a lot
> of cases the underlying package fails.

PARALLEL_MAKE is just a wrapper around make ( / cmake?) -j N.
BB_NUMBER_THREADS is how you get different packages going in parallel.

> A typical scenario:
> a package X depends on perl-native, typically they start to build in
> parallel but perl-native does take much longer than X. X requires
> perl-native to complete and fails.

Right.  This is a bug on package X not listing perl-native as a
dependancy as with BB_NUMBER_THREADS >1 perl-native will be worked until
do_populate_staging before X do_configure is started.

-- 
Tom Rini




More information about the Openembedded-devel mailing list