aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-23 22:44:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-02 16:19:37 +0100
commit1f326f2c29c2664a5daaeeb0c1fd332630efbdba (patch)
tree31ba5253c10faa3ff2342afb830ca1b6c580f28c /lib/bb/runqueue.py
parentb707d0cbc25fa336a1e95ff588f1ea37eee063eb (diff)
downloadbitbake-1f326f2c29c2664a5daaeeb0c1fd332630efbdba.tar.gz
siggen: Add new unitaskhashes data variable which is cached
We need to preserve unihash task hashes between runs. Use the new SimpleCache class to create such a class within the signature generator which is loaded at init time and saved when builds complete. The default is unpopulated but metadata sig handlers can populate this cache. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r--lib/bb/runqueue.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 9883a982c..519561c23 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1516,6 +1516,7 @@ class RunQueue:
self.dm_event_handler_registered = False
if build_done and self.rqexe:
+ bb.parse.siggen.save_unitaskhashes()
self.teardown_workers()
if self.rqexe:
if self.rqexe.stats.failed: