From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] pkg-autotools: use --disable-dependency-tracking
Date: Fri, 29 Aug 2014 09:21:50 +0200 [thread overview]
Message-ID: <20140829092150.04986069@free-electrons.com> (raw)
In-Reply-To: <87tx4vrcg8.fsf@dell.be.48ers.dk>
Dear Peter Korsgaard,
On Fri, 29 Aug 2014 09:18:15 +0200, Peter Korsgaard wrote:
> >>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>
> > By default, automake does "dependency tracking", which allows the
> > generated Makefile to contain the necessary dependencies to
> > automatically rebuild the appropriate C files when included header
> > files are changed. This dependency tracking is nice when doing active
> > development on the package, but not really useful when doing a
> > one-time build of the package. According to automake's
> > documentation[1], disabling the dependency tracking provides a small
> > speed-up.
>
> > In some very unscientific measurements (i.e repeated only once), we
> > have noticed a ~3.6% reduction of the total build time of a Buildroot
> > toolchain after applying this patch.
>
> > [1] http://www.gnu.org/software/automake/manual/html_node/Dependency-Tracking.html
>
> 3% isn't much, but OK - Committed both to next, thanks.
Well, I was indeed a bit disappointed by the small difference. But I
believe it anyway makes more sense than having a few random packages
pass --disable-dependency-tracking.
Also, as we say in French, "les petits ruisseaux font les grandes
rivi?res", which could roughly be translated as "the small streams make
the big rivers". Everything counts :-)
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-08-29 7:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-28 21:03 [Buildroot] [PATCH 1/2] pkg-autotools: use --disable-dependency-tracking Thomas Petazzoni
2014-08-28 21:03 ` [Buildroot] [PATCH 2/2] packages: no longer pass --disable-dependency-tracking in individual packages Thomas Petazzoni
2014-08-29 7:18 ` [Buildroot] [PATCH 1/2] pkg-autotools: use --disable-dependency-tracking Peter Korsgaard
2014-08-29 7:21 ` Thomas Petazzoni [this message]
2014-08-29 7:58 ` Peter Korsgaard
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=20140829092150.04986069@free-electrons.com \
--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