All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rich Pixley <rich.pixley@palm.com>
To: "openembedded-devel@openembedded.org"
	<openembedded-devel@openembedded.org>
Subject: bitbake vs incremental builds
Date: Wed, 18 Jun 2008 15:40:14 -0700	[thread overview]
Message-ID: <48598ECE.9030604@palm.com> (raw)

I'm wondering if there's any reason that bitbake isn't using the time 
stamps on it's stamp files to determine which recipe+task pairs should 
be executed.

If C depends on B depends on A...

A first build will build A, B, C.
A second build will build nothing since nothing has changed.  (this is 
correct behavior).
However, if I change A and rebuild, only A will be rebuilt, not B or C.

This is a nuisance for developers who are using bitbake as a build 
system.  It's a problem for continuous build systems since they must 
necessarily build everything over from source in order to test whether 
builds work.

I'm thinking that it should be fairly easy to adjust which recipe+task 
pairs are scheduled for execution by looking not only at stamp file 
existence, but also at the comparative difference in stamp file times.  
If the stamp file for A is more recent than the stamp file for B, then B 
needs to be scheduled for execution as does C.

Does anyone know of any reason why this cannot or should not be done?

--rich



             reply	other threads:[~2008-06-18 22:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-18 22:40 Rich Pixley [this message]
2008-06-19  7:58 ` bitbake vs incremental builds Richard Purdie
2008-06-19 16:57   ` K. Richard Pixley
2008-06-19 17:30     ` Cliff Brake
2008-06-20  1:03   ` Rich Pixley
2008-06-20  9:44     ` Richard Purdie
2008-06-23 18:23       ` Rich Pixley
2008-06-25 22:28   ` Rich Pixley
2008-06-26 20:53     ` rebuild confusion Rich Pixley

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=48598ECE.9030604@palm.com \
    --to=rich.pixley@palm.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.