diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index dea0aadbee..8ad4922651 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1570,6 +1570,7 @@ class CookerParser(object): | |||
1570 | def init(): | 1570 | def init(): |
1571 | Parser.cfg = self.cfgdata | 1571 | Parser.cfg = self.cfgdata |
1572 | multiprocessing.util.Finalize(None, bb.codeparser.parser_cache_save, args=(self.cfgdata,), exitpriority=1) | 1572 | multiprocessing.util.Finalize(None, bb.codeparser.parser_cache_save, args=(self.cfgdata,), exitpriority=1) |
1573 | multiprocessing.util.Finalize(None, bb.fetch.fetcher_parse_save, args=(self.cfgdata,), exitpriority=1) | ||
1573 | 1574 | ||
1574 | self.feeder_quit = multiprocessing.Queue(maxsize=1) | 1575 | self.feeder_quit = multiprocessing.Queue(maxsize=1) |
1575 | self.parser_quit = multiprocessing.Queue(maxsize=self.num_processes) | 1576 | self.parser_quit = multiprocessing.Queue(maxsize=self.num_processes) |
@@ -1618,6 +1619,7 @@ class CookerParser(object): | |||
1618 | sync.start() | 1619 | sync.start() |
1619 | multiprocessing.util.Finalize(None, sync.join, exitpriority=-100) | 1620 | multiprocessing.util.Finalize(None, sync.join, exitpriority=-100) |
1620 | bb.codeparser.parser_cache_savemerge(self.cooker.configuration.data) | 1621 | bb.codeparser.parser_cache_savemerge(self.cooker.configuration.data) |
1622 | bb.fetch.fetcher_parse_done(self.cooker.configuration.data) | ||
1621 | 1623 | ||
1622 | def load_cached(self): | 1624 | def load_cached(self): |
1623 | for filename, appends in self.fromcache: | 1625 | for filename, appends in self.fromcache: |