diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-01-26 15:34:29 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-18 07:40:58 +0000 |
commit | 5ac9cbf405841ed3f65e6f99a3cee032567fb182 (patch) | |
tree | 6b4b26aa8fdd38593fdf5dcbb6674d1f0b77eb35 /lib/bb/runqueue.py | |
parent | ecdabd321d48fa367b89ebffc00aa525b6eaa95c (diff) | |
download | bitbake-5ac9cbf405841ed3f65e6f99a3cee032567fb182.tar.gz |
bb/runqueue: save task file dependency cache onto disk
Before this patch the usage of cache was quite useless as the file
checksums were not actually cached on disk but re-calculated every time.
This patch utilises the new writeout_file_checksum_cache() method of the
SignatureGenerator class to do the job.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r-- | lib/bb/runqueue.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 2f0a9562d..946aa980d 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -829,6 +829,7 @@ class RunQueueData: procdep.append(self.taskData.fn_index[self.runq_fnid[dep]] + "." + self.runq_task[dep]) self.runq_hash[task] = bb.parse.siggen.get_taskhash(self.taskData.fn_index[self.runq_fnid[task]], self.runq_task[task], procdep, self.dataCache) + bb.parse.siggen.writeout_file_checksum_cache() return len(self.runq_fnid) def dump_data(self, taskQueue): |