diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 6a2de240cc..9883a982c2 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -2206,12 +2206,9 @@ class RunQueueExecute: | |||
2206 | logger.debug(2, "%s was unavailable and is a hard dependency of %s so skipping" % (task, dep)) | 2206 | logger.debug(2, "%s was unavailable and is a hard dependency of %s so skipping" % (task, dep)) |
2207 | self.sq_task_failoutright(dep) | 2207 | self.sq_task_failoutright(dep) |
2208 | continue | 2208 | continue |
2209 | if task not in self.sqdata.sq_revdeps2[dep]: | 2209 | if self.sqdata.sq_revdeps[dep].issubset(self.scenequeue_covered | self.scenequeue_notcovered): |
2210 | # May already have been removed by the fail case above | 2210 | if dep not in self.sq_buildable: |
2211 | continue | 2211 | self.sq_buildable.add(dep) |
2212 | self.sqdata.sq_revdeps2[dep].remove(task) | ||
2213 | if len(self.sqdata.sq_revdeps2[dep]) == 0: | ||
2214 | self.sq_buildable.add(dep) | ||
2215 | 2212 | ||
2216 | next = set([task]) | 2213 | next = set([task]) |
2217 | while next: | 2214 | while next: |
@@ -2377,8 +2374,6 @@ class SQData(object): | |||
2377 | self.sq_deps = {} | 2374 | self.sq_deps = {} |
2378 | # SceneQueue reverse dependencies | 2375 | # SceneQueue reverse dependencies |
2379 | self.sq_revdeps = {} | 2376 | self.sq_revdeps = {} |
2380 | # Copy of reverse dependencies used by sq processing code | ||
2381 | self.sq_revdeps2 = {} | ||
2382 | # Injected inter-setscene task dependencies | 2377 | # Injected inter-setscene task dependencies |
2383 | self.sq_harddeps = {} | 2378 | self.sq_harddeps = {} |
2384 | # Cache of stamp files so duplicates can't run in parallel | 2379 | # Cache of stamp files so duplicates can't run in parallel |
@@ -2537,7 +2532,6 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq): | |||
2537 | # bb.warn("Task %s_setscene: is %s " % (tid, data)) | 2532 | # bb.warn("Task %s_setscene: is %s " % (tid, data)) |
2538 | 2533 | ||
2539 | sqdata.sq_revdeps = sq_revdeps_squash | 2534 | sqdata.sq_revdeps = sq_revdeps_squash |
2540 | sqdata.sq_revdeps2 = copy.deepcopy(sqdata.sq_revdeps) | ||
2541 | sqdata.sq_covered_tasks = sq_collated_deps | 2535 | sqdata.sq_covered_tasks = sq_collated_deps |
2542 | 2536 | ||
2543 | # Build reverse version of revdeps to populate deps structure | 2537 | # Build reverse version of revdeps to populate deps structure |