diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-23 22:44:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-06 11:21:31 +0100 |
commit | de143e0db64400d252b6500c3f4335091fcce6a1 (patch) | |
tree | 93ce62b4ec3ee91812ed2e92876a07b82664e01e /bitbake/lib/bb/runqueue.py | |
parent | 53bb93938310243250eab1b0ae34f469bbec6fd6 (diff) | |
download | poky-de143e0db64400d252b6500c3f4335091fcce6a1.tar.gz |
bitbake: 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.
(Bitbake rev: 1f326f2c29c2664a5daaeeb0c1fd332630efbdba)
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 9883a982c2..519561c231 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1516,6 +1516,7 @@ class RunQueue: | |||
1516 | self.dm_event_handler_registered = False | 1516 | self.dm_event_handler_registered = False |
1517 | 1517 | ||
1518 | if build_done and self.rqexe: | 1518 | if build_done and self.rqexe: |
1519 | bb.parse.siggen.save_unitaskhashes() | ||
1519 | self.teardown_workers() | 1520 | self.teardown_workers() |
1520 | if self.rqexe: | 1521 | if self.rqexe: |
1521 | if self.rqexe.stats.failed: | 1522 | if self.rqexe.stats.failed: |