Skip to contentSkip to conversation

runqueue.py: Wipe out the stamp cache between setscene and main task execution

PATCH New Richard Purdie 1 participant 1 message Jul 25, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runqueue.py: Wipe out the stamp cache between setscene and main task execution

The stamp files can change during setscene and the cache should be cleared to account for this.

---

bitbake/lib/bb/runqueue.py +2 -0
index ca5fe97..d3a1d2d 100644
@@ -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)