All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake vs incremental builds
@ 2008-06-18 22:40 Rich Pixley
  2008-06-19  7:58 ` Richard Purdie
  0 siblings, 1 reply; 9+ messages in thread
From: Rich Pixley @ 2008-06-18 22:40 UTC (permalink / raw)
  To: openembedded-devel@openembedded.org

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



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

end of thread, other threads:[~2008-06-26 20:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-18 22:40 bitbake vs incremental builds Rich Pixley
2008-06-19  7:58 ` 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

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.