[bitbake-devel] [PATCH 0/6] Improve caching task file dependency checksum caching

Markus Lehtonen markus.lehtonen at linux.intel.com
Tue Jan 26 13:34:26 UTC 2016


This patchset improves the caching of task file dependency checksums in two
ways. First, the patchset enables writing of the cache onto disk so that the
checksums can be re-used on subsequent runs of bitbake. Previously the task
signature checksums were calculated and cached in memory but never really
saved.

Second, this patchset makes the task file dependency checksum cache file
configurable. This is intended to be used e.g. with a further patchset for
oe-core that will utilize task file dependencies heavily.

[YOCTO #8853]

Markus Lehtonen (6):
  bb/cache: drop some unused arguments
  SignatureGenerator: add method for saving the file checksum cache
  bb/runqueue: save task file dependency cache onto disk
  FileChecksumCache: add get_checksums() method
  MultiProcessCache: make cache filename configurable
  SignatureGeneratorBasic: make checksum cache file configurable

 lib/bb/cache.py           |  9 ++++----
 lib/bb/checksum.py        | 47 ++++++++++++++++++++++++++++++++++++++++
 lib/bb/codeparser.py      |  8 +++----
 lib/bb/cooker.py          |  8 +++----
 lib/bb/fetch2/__init__.py | 55 ++++++-----------------------------------------
 lib/bb/runqueue.py        |  1 +
 lib/bb/siggen.py          | 25 ++++++++++++++++++++-
 7 files changed, 91 insertions(+), 62 deletions(-)

-- 
2.1.4




More information about the bitbake-devel mailing list