Patchwork [bitbake-devel] runqueue.py: Wipe out the stamp cache between setscene and main task execution

login
register
mail settings
Submitter Richard Purdie
Date July 25, 2012, 9:11 p.m.
Message ID <1343250708.29991.2.camel@ted>
Download mbox | patch
Permalink /patch/33079/
State New
Headers show

Comments

Richard Purdie - July 25, 2012, 9:11 p.m.
The stamp files can change during setscene and the cache should be cleared to
account for this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index ca5fe97..d3a1d2d 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1170,6 +1170,8 @@  class RunQueueExecuteTasks(RunQueueExecute):
 
         self.stats = RunQueueStats(len(self.rqdata.runq_fnid))
 
+        self.stampcache = {}
+
         # Mark initial buildable tasks
         for task in xrange(self.stats.total):
             self.runq_running.append(0)