[oe] [PATCH 2/2] icecc: introduce ICECC_FALLBACK_PARALLEL

Roman I Khimov khimov at altell.ru
Wed Jul 15 14:43:48 UTC 2009


On Среда 15 июля 2009 18:09:03 Phil Blundell wrote:
> On Wed, 2009-07-15 at 16:52 +0400, Roman I Khimov wrote:
> > icecc-blacklisted packages currently built not only without icecc
> > environment set but also without any parallel options enabled. The
> > original intention was not to kill the build machine, I guess, since
> > having a good icecc cluster it's easy to set '-j16' or '-j32' or whatever
> > else which could do so. However as the toolchain packages are blacklisted
> > for icecc they're becoming a bottleneck in the build process, while they
> > can be built with local-machine parallelism.
> >
> > So, in order to solve it, introducing ICECC_FALLBACK_PARALLEL option.
> > It's simply used as PARALLEL_MAKE for icecc-blacklisted packages.
>
> Maybe it would be better to do this the other way around: have an
> ICECC_PARALLEL_MAKE which is used instead of PARALLEL_MAKE when icecc is
> selected, and make this be the one that you set to "-j1024".  Then, if
> icecc is disabled for any reason (blacklisted package, or just because
> you stop inheriting the class) it would go back to using the regular
> PARALLEL_MAKE setting.

Yep, thought of that, should be a better solution, but I have a doubt about 
recipes intentionally setting PARALLEL_MAKE to nothing (thus avoiding parallel 
build bugs in package). If we'll forcibly set PARALLEL_MAKE to 
ICECC_PARALLEL_MAKE in icecc.bbclass, it might break such packages.




More information about the Openembedded-devel mailing list