summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/runqueue.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 78e09945a0..dac0cd9cb9 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -196,11 +196,6 @@ class RunQueueScheduler(object):
196 if self.rq.can_start_task(): 196 if self.rq.can_start_task():
197 return self.next_buildable_task() 197 return self.next_buildable_task()
198 198
199 def initbuildable(self):
200 for tid in self.rqdata.runtaskentries:
201 if tid in self.rq.runq_buildable:
202 self.buildable.append(tid)
203
204 def newbuildable(self, task): 199 def newbuildable(self, task):
205 self.buildable.append(task) 200 self.buildable.append(task)
206 201
@@ -2504,7 +2499,7 @@ def start_runqueue_tasks(rqexec):
2504 # Mark initial buildable tasks 2499 # Mark initial buildable tasks
2505 for tid in rqexec.rqdata.runtaskentries: 2500 for tid in rqexec.rqdata.runtaskentries:
2506 if len(rqexec.rqdata.runtaskentries[tid].depends) == 0: 2501 if len(rqexec.rqdata.runtaskentries[tid].depends) == 0:
2507 rqexec.runq_buildable.add(tid) 2502 rqexec.setbuildable(tid)
2508 if len(rqexec.rqdata.runtaskentries[tid].revdeps) > 0 and rqexec.rqdata.runtaskentries[tid].revdeps.issubset(rqexec.scenequeue_covered): 2503 if len(rqexec.rqdata.runtaskentries[tid].revdeps) > 0 and rqexec.rqdata.runtaskentries[tid].revdeps.issubset(rqexec.scenequeue_covered):
2509 rqexec.scenequeue_covered.add(tid) 2504 rqexec.scenequeue_covered.add(tid)
2510 2505
@@ -2527,8 +2522,6 @@ def start_runqueue_tasks(rqexec):
2527 for task in self.rq.scenequeue_notcovered: 2522 for task in self.rq.scenequeue_notcovered:
2528 logger.debug(1, 'Not skipping task %s', task) 2523 logger.debug(1, 'Not skipping task %s', task)
2529 2524
2530 rqexec.sched.initbuildable()
2531
2532class TaskFailure(Exception): 2525class TaskFailure(Exception):
2533 """ 2526 """
2534 Exception raised when a task in a runqueue fails 2527 Exception raised when a task in a runqueue fails