aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-06 14:20:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-15 09:31:50 +0100
commit8ea6d8193fc89b4596da69e400fbc50e5a443f9f (patch)
tree09065edd1a26b8ab417e951fbb588fcb38087b55 /lib/bb/runqueue.py
parent06982c82f10cbdbea0b601e5cf0450a2a99c14c2 (diff)
downloadbitbake-8ea6d8193fc89b4596da69e400fbc50e5a443f9f.tar.gz
runqueue: Tweak comments and debug code
Add some extra comments to build_scenequeue_data() and fix the debug code so it actually works. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r--lib/bb/runqueue.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index ec98411fc..31ce89abb 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -2373,6 +2373,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
rqdata.init_progress_reporter.next_stage(len(rqdata.runtaskentries))
+ # Sanity check all dependencies could be changed to setscene task references
for taskcounter, tid in enumerate(rqdata.runtaskentries):
if tid in rqdata.runq_setscene_tids:
deps = set()
@@ -2422,14 +2423,16 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
rqdata.init_progress_reporter.next_stage()
#for tid in sq_revdeps_squash:
+ # data = ""
# for dep in sq_revdeps_squash[tid]:
# data = data + "\n %s" % dep
- # bb.warn("Task %s_setscene: is %s " % (tid, data
+ # bb.warn("Task %s_setscene: is %s " % (tid, data))
sqdata.sq_revdeps = sq_revdeps_squash
sqdata.sq_revdeps2 = copy.deepcopy(sqdata.sq_revdeps)
sqdata.sq_covered_tasks = sq_collated_deps
+ # Build reverse version of revdeps to populate deps structure
for tid in sqdata.sq_revdeps:
sqdata.sq_deps[tid] = set()
for tid in sqdata.sq_revdeps: