summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index fd33d0702e..a4009d4e9b 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1178,7 +1178,7 @@ class RunQueueExecuteTasks(RunQueueExecute):
1178 self.runq_buildable.append(1) 1178 self.runq_buildable.append(1)
1179 else: 1179 else:
1180 self.runq_buildable.append(0) 1180 self.runq_buildable.append(0)
1181 if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered): 1181 if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered) and task not in self.rq.scenequeue_notcovered:
1182 self.rq.scenequeue_covered.add(task) 1182 self.rq.scenequeue_covered.add(task)
1183 1183
1184 found = True 1184 found = True
@@ -1189,7 +1189,7 @@ class RunQueueExecuteTasks(RunQueueExecute):
1189 continue 1189 continue
1190 logger.debug(1, 'Considering %s (%s): %s' % (task, self.rqdata.get_user_idstring(task), str(self.rqdata.runq_revdeps[task]))) 1190 logger.debug(1, 'Considering %s (%s): %s' % (task, self.rqdata.get_user_idstring(task), str(self.rqdata.runq_revdeps[task])))
1191 1191
1192 if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered): 1192 if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered) and task not in self.rq.scenequeue_notcovered:
1193 ok = True 1193 ok = True
1194 for revdep in self.rqdata.runq_revdeps[task]: 1194 for revdep in self.rqdata.runq_revdeps[task]:
1195 if self.rqdata.runq_fnid[task] != self.rqdata.runq_fnid[revdep]: 1195 if self.rqdata.runq_fnid[task] != self.rqdata.runq_fnid[revdep]:
@@ -1646,6 +1646,9 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1646 self.rq.scenequeue_covered = set() 1646 self.rq.scenequeue_covered = set()
1647 for task in oldcovered: 1647 for task in oldcovered:
1648 self.rq.scenequeue_covered.add(self.rqdata.runq_setscene[task]) 1648 self.rq.scenequeue_covered.add(self.rqdata.runq_setscene[task])
1649 self.rq.scenequeue_notcovered = set()
1650 for task in self.scenequeue_notcovered:
1651 self.rq.scenequeue_notcovered.add(self.rqdata.runq_setscene[task])
1649 1652
1650 logger.debug(1, 'We can skip tasks %s', sorted(self.rq.scenequeue_covered)) 1653 logger.debug(1, 'We can skip tasks %s', sorted(self.rq.scenequeue_covered))
1651 1654