]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: runqueue: Ensure we clear the stamp cache
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Aug 2019 14:59:58 +0000 (15:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Aug 2019 16:28:23 +0000 (17:28 +0100)
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>
bitbake/lib/bb/runqueue.py

index 9f4337610b5985e607c23ef6def09538cc81ea0a..4bf817773a14c8960a6f3277fd49924038dbe378 100644 (file)
@@ -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]