[Buildroot] [PATCH v10 0/8] Add support for top-level parallel make

Arnout Vandecappelle arnout at mind.be
Thu Dec 19 17:33:37 UTC 2013


On 18/12/13 11:36, Fabio Porcedda wrote:
> this is a patch set for adding support for top-level parallel make in
> buildroot, the common problem scattered in buildroot's top-level
> makefiles is that in the rules it relies on the order of evaluation of
> the prerequisites, to be able to use top-level parallel make instead
> of reling on the left to right ordering of evaluation of the
> prerequisites we must add an explicit rule to describe the
> dependencies.
>
> With this patch set the top-level parallel make seems to works fine,
> example:
> 	make clean
> 	make BR2_JLEVEL= -j$((`getconf _NPROCESSORS_ONLN` + 1))

  Would it be possible to disable BR2_JLEVEL automatically when -j 
appears on the command line?

>
> Before to try it remeber to remove the ".NOTPARALLEL" line.
>
> On my quad core system the building time for qemu_x86_defconfig
> is 14m versus 11m and with ccache enabled 7m vs 5m.

  These are not very relevant benchmarks because there's not a lot that 
can be done in parallel there. It would be much more interesting with an 
allpackageyesconfig (which you'll have to modify by hand BTW to exclude 
some packages that don't build...).

  Regards,
  Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F


More information about the buildroot mailing list