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 17:28:23 +0100 |
commit | 93e4dc5f1118c3c2a3404bc28de9104e749f1db4 (patch) | |
tree | c2cf89095fdc5405d3cb0fe6befa7c19100a53f5 /bitbake/lib/bb/runqueue.py | |
parent | 64d0493d977a3bba4c51f9e38eff2b7cf01b90dd (diff) | |
download | poky-93e4dc5f1118c3c2a3404bc28de9104e749f1db4.tar.gz |
bitbake: 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.
(Bitbake rev: 08962092d3bb7887d82f97d442a6103c0677eae7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 9f4337610b..4bf817773a 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -2307,6 +2307,9 @@ class RunQueueExecute: | |||
2307 | (mc, fn, taskname, taskfn) = split_tid_mcfn(tid) | 2307 | (mc, fn, taskname, taskfn) = split_tid_mcfn(tid) |
2308 | self.sqdata.stamps[tid] = bb.build.stampfile(taskname + "_setscene", self.rqdata.dataCaches[mc], taskfn, noextra=True) | 2308 | self.sqdata.stamps[tid] = bb.build.stampfile(taskname + "_setscene", self.rqdata.dataCaches[mc], taskfn, noextra=True) |
2309 | 2309 | ||
2310 | if tid in self.stampcache: | ||
2311 | del self.stampcache[tid] | ||
2312 | |||
2310 | if tid in self.build_stamps: | 2313 | if tid in self.build_stamps: |
2311 | del self.build_stamps[tid] | 2314 | del self.build_stamps[tid] |
2312 | 2315 | ||