[oe-commits] [bitbake] 03/03: runqueue: Ensure we clear the stamp cache

git at git.openembedded.org git at git.openembedded.org
Wed Aug 14 16:36:30 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository bitbake.

commit 08962092d3bb7887d82f97d442a6103c0677eae7
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Aug 14 15:59:58 2019 +0100

    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 at linuxfoundation.org>
---
 lib/bb/runqueue.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 9f43376..4bf8177 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]
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list