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:41:16 +0000 |
commit | 8f61f2d8812df8d8e57affd7c8a45c1054c59b83 (patch) | |
tree | c8a0fa9fa7d67f347b00384db1c821a252d486fc /bitbake/lib/bb/runqueue.py | |
parent | 5177b1e4ac8a2b0567c1990623cfa014d7ec3ae8 (diff) | |
download | poky-8f61f2d8812df8d8e57affd7c8a45c1054c59b83.tar.gz |
bitbake: 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.
(Bitbake rev: 5ac9cbf405841ed3f65e6f99a3cee032567fb182)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
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 2f0a9562d7..946aa980d3 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -829,6 +829,7 @@ class RunQueueData: | |||
829 | procdep.append(self.taskData.fn_index[self.runq_fnid[dep]] + "." + self.runq_task[dep]) | 829 | procdep.append(self.taskData.fn_index[self.runq_fnid[dep]] + "." + self.runq_task[dep]) |
830 | self.runq_hash[task] = bb.parse.siggen.get_taskhash(self.taskData.fn_index[self.runq_fnid[task]], self.runq_task[task], procdep, self.dataCache) | 830 | self.runq_hash[task] = bb.parse.siggen.get_taskhash(self.taskData.fn_index[self.runq_fnid[task]], self.runq_task[task], procdep, self.dataCache) |
831 | 831 | ||
832 | bb.parse.siggen.writeout_file_checksum_cache() | ||
832 | return len(self.runq_fnid) | 833 | return len(self.runq_fnid) |
833 | 834 | ||
834 | def dump_data(self, taskQueue): | 835 | def dump_data(self, taskQueue): |