diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 44aa11e531..fb86446d47 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -2020,7 +2020,7 @@ class CookerParser(object): | |||
2020 | else: | 2020 | else: |
2021 | self.fromcache.append((filename, appends)) | 2021 | self.fromcache.append((filename, appends)) |
2022 | self.toparse = self.total - len(self.fromcache) | 2022 | self.toparse = self.total - len(self.fromcache) |
2023 | self.progress_chunk = max(self.toparse / 100, 1) | 2023 | self.progress_chunk = int(max(self.toparse / 100, 1)) |
2024 | 2024 | ||
2025 | self.num_processes = min(int(self.cfgdata.getVar("BB_NUMBER_PARSE_THREADS", True) or | 2025 | self.num_processes = min(int(self.cfgdata.getVar("BB_NUMBER_PARSE_THREADS", True) or |
2026 | multiprocessing.cpu_count()), len(self.willparse)) | 2026 | multiprocessing.cpu_count()), len(self.willparse)) |