summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-07-29 14:08:05 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-07-29 14:08:05 +0100
commita6d608eb19e9b2ad2a75efe9b99a4d9c2940fc9b (patch)
tree3de844ec6d94ca0bb3a503cc56479cd05fc90161 /bitbake/lib/bb/runqueue.py
parent9930c668c032cb4e0621b3134b46b256b52b8a01 (diff)
downloadpoky-a6d608eb19e9b2ad2a75efe9b99a4d9c2940fc9b.tar.gz
bitbake runqueue: Add a minor speedup to the runqueue code
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 20187f3219..cce5da4057 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -463,9 +463,10 @@ class RunQueue:
463 for task in range(len(self.runq_fnid)): 463 for task in range(len(self.runq_fnid)):
464 fnid = self.runq_fnid[task] 464 fnid = self.runq_fnid[task]
465 if fnid not in reccumdepends: 465 if fnid not in reccumdepends:
466 reccumdepends[fnid] = set()
467 if fnid in tdepends_fnid: 466 if fnid in tdepends_fnid:
468 reccumdepends[fnid].update(tdepends_fnid[fnid]) 467 reccumdepends[fnid] = tdepends_fnid[fnid]
468 else:
469 reccumdepends[fnid] = set()
469 reccumdepends[fnid].update(self.runq_depends[task]) 470 reccumdepends[fnid].update(self.runq_depends[task])
470 for task in range(len(self.runq_fnid)): 471 for task in range(len(self.runq_fnid)):
471 taskfnid = self.runq_fnid[task] 472 taskfnid = self.runq_fnid[task]