From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Buildroot and top-level parallel make
Date: Sun, 15 Jul 2012 22:16:53 +0200 [thread overview]
Message-ID: <20120715221653.0374b001@skate> (raw)
In-Reply-To: <CA+wH297K1Fh6cgFaHo2dd=ihgujo_nMkyicJLnOvAm9jnonBcQ@mail.gmail.com>
Le Fri, 13 Jul 2012 11:34:58 +0100,
Alex Bradbury <asb@asbradbury.org> a ?crit :
> On 4 July 2012 13:20, Alex Bradbury <asb@asbradbury.org> wrote:
> > On 28 June 2012 13:34, Alex Bradbury <asb@asbradbury.org> wrote:
> >> I was wondering what the outcome of experiments to allow top-level
> >> parallelism were? What are the major barriers to allowing this? Is it
> >> still something seen as feasible to add to buildroot, or is it looking
> >> like it would add too much complexity?
> >
> > Thomas, I was wondering if you'd been able to recall what issues your
> > initial experiments with top-level parallel make faced?
>
> I hate to be a pain...but ping?
Sorry, I've been way too busy last week. As Arnout said, I don't
remember the details, but here are some elements:
* Adding top-level parallel build would introduce a lot of
"randomness" in builds, making them harder to reproduce. If one
package lacks a dependency on another package, but can optionally
rely on it, then with top-level parallel build, sometimes the
package will use this optional library, sometimes not. Of course,
it's a bug in the package, that should have expressed this optional
dependency in its .mk file, but still it's a problem. I think this
non-reproducibility was the major issue we were having, because it
would cause problems to users that may be hard to reproduce.
* Adding top-level parallel build requires changing how the logging is
done. At the moment, all the build details are logged on stdout.
With top-level parallel build, we would need to redirect the build
log of each package to a separate log file.
* The current package infrastructure uses phony targets for
sequencing, and we use phony targets in many other places, and phony
targets don't play well with parallel build, they would have to be
replaced with real targets (based on stamp files for example).
Of course, none of these make it impossible, but when we had the
discussion, I think we said that there were tasks with higher
priorities than this one. Don't hesitate to start experimenting and
prototyping around that if you're interested. However, we don't
guarantee that it will be integrated, it will depends on how much
complexity this adds.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2012-07-15 20:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-28 12:34 [Buildroot] Buildroot and top-level parallel make Alex Bradbury
2012-06-30 12:48 ` Arnout Vandecappelle
2012-06-30 22:22 ` Alex Bradbury
2012-07-04 12:20 ` Alex Bradbury
2012-07-13 10:34 ` Alex Bradbury
2012-07-14 21:37 ` Arnout Vandecappelle
2012-07-15 20:16 ` Thomas Petazzoni [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=20120715221653.0374b001@skate \
--to=thomas.petazzoni@free-electrons.com \
--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