diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-14 15:59:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-14 16:02:28 +0100 |
commit | 08962092d3bb7887d82f97d442a6103c0677eae7 (patch) | |
tree | c775b12403393f63ad7b1489e340bc5c0d917f73 | |
parent | 930efbc563443d82df8d692bb8ff172ca2bae192 (diff) | |
download | bitbake-08962092d3bb7887d82f97d442a6103c0677eae7.tar.gz |
runqueue: Ensure we clear the stamp cache
When the task hashes change we need to ensure the stampcache is cleared out
else tasks don't rerun when they should as we're basing decisions on stale
cache data.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/runqueue.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 9f4337610..4bf817773 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -2307,6 +2307,9 @@ class RunQueueExecute: (mc, fn, taskname, taskfn) = split_tid_mcfn(tid) self.sqdata.stamps[tid] = bb.build.stampfile(taskname + "_setscene", self.rqdata.dataCaches[mc], taskfn, noextra=True) + if tid in self.stampcache: + del self.stampcache[tid] + if tid in self.build_stamps: del self.build_stamps[tid] |