Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Parallel top-level make and multiple rootfs types
@ 2017-10-25 23:10 Jan Kundrát
  2017-11-02 18:27 ` Jan Kundrát
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kundrát @ 2017-10-25 23:10 UTC (permalink / raw)
  To: buildroot

Hi,
I've enabled that unsupported feature for parallel top-level make by 
removing ".NOTPARALLEL". I'm doing this because it cuts my build time by a 
factor of four (roughly 50min -> 12min; yes, these serialized configure 
steps are extremely expensive on a 24-core build node).

Everything works well for me up to and including the `target-finalize` 
step. I have multiple CONFIG_TARGET_ROOTFS_*, and their rules clobber each 
other's auxiliary files, either directly (_fakeroot.fs), or via mkusers 
which creates duplicate rows in target/etc/group.

I tried to fix this by something like:

  .NOTPARALLEL: $$(BINARIES_DIR)/rootfs.$(1)

...but it just caused the entire build to once again become serial, 
package-after-package, which is not what I want.

Is there a better fix than running `make -j32 target-finalize && make` as a 
workaround?

With kind regards,
Jan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-05  8:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-25 23:10 [Buildroot] Parallel top-level make and multiple rootfs types Jan Kundrát
2017-11-02 18:27 ` Jan Kundrát
2017-11-04 20:56   ` Arnout Vandecappelle
2017-11-04 22:05     ` Thomas Petazzoni
2017-11-05  8:41       ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox