summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2020-06-05 22:15:34 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-10 12:30:01 +0100
commit59fb65f74293c5b2dba811b41f8e254d601f359b (patch)
treecfd6d208a660fb80cfef1f9344588cb301622465 /bitbake/lib/bb/cooker.py
parent3ec9d5774c56eec42ee6aa5395838a82d3a88bf0 (diff)
downloadpoky-59fb65f74293c5b2dba811b41f8e254d601f359b.tar.gz
bitbake: bitbake: cache: Cache size optimization
Now that there is a cache object per multiconfig, it is not necessary for each cache object to parse all other multiconfigs. Instead, each cache now only parses the files for it's multiconfig. (Bitbake rev: 3c5c7346adf4ca7ec761c08738f12401ba75b7c8) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 50526d52b2..effd02442c 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -2199,13 +2199,7 @@ class CookerParser(object):
2199 if info_array[0].skipped: 2199 if info_array[0].skipped:
2200 self.skipped += 1 2200 self.skipped += 1
2201 self.cooker.skiplist[virtualfn] = SkippedPackage(info_array[0]) 2201 self.cooker.skiplist[virtualfn] = SkippedPackage(info_array[0])
2202 (fn, cls, fnmc) = bb.cache.virtualfn2realfn(virtualfn) 2202 self.bb_caches[mc].add_info(virtualfn, info_array, self.cooker.recipecaches[mc],
2203
2204 if fnmc == mc:
2205 cache = self.cooker.recipecaches[mc]
2206 else:
2207 cache = None
2208 self.bb_caches[mc].add_info(virtualfn, info_array, cache,
2209 parsed=parsed, watcher = self.cooker.add_filewatch) 2203 parsed=parsed, watcher = self.cooker.add_filewatch)
2210 return True 2204 return True
2211 2205