From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Parallel top-level make and multiple rootfs types
Date: Sun, 5 Nov 2017 09:41:45 +0100 [thread overview]
Message-ID: <20171105084145.GE2996@scaer> (raw)
In-Reply-To: <20171104230558.4e785082@windsurf>
Thomas, Arnout, All,
On 2017-11-04 23:05 +0100, Thomas Petazzoni spake thusly:
> On Sat, 4 Nov 2017 21:56:58 +0100, Arnout Vandecappelle wrote:
> > > can I disable parallel execution of the rootfs-* build steps while still
> > > building everything up to target-finalize in parallel?
> >
> > No, that's not possible with make. I don't know if Thomas has already thought
> > about this aspect of top-level parallel...
>
> No, I haven't thought about this aspect of top-level parallel build.
>
> > I think the solution is to change the way we build the rootfs: instead of doing
> > the fakeroot steps over and over again, do it once, save with the -s option, and
> > then do the individual filesystems in a separate (readonly) fakeroot with -i to
> > read the previously created fakeroot file.
>
> I think Yann did some work in terms of parallel generation of
> filesystem images, but I'm not sure exactly what he did :)
Quite a lot, in fact... See:
https://git.buildroot.org/~ymorin/git/buildroot/log/?h=yem/fs-3
I wanted to send it earlier, but I did not yet find time to completely
test it...
The runtime-tests infra needed a few tweaks to make it work correctly,
and it also caught a few regressions that I already fixed, but it really
needs a bit more testing I think...
Hopefully I get some time to respin it at the bginning iof next cycle...
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
prev parent reply other threads:[~2017-11-05 8:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171105084145.GE2996@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox