[oe-commits] [bitbake] 01/23: fix

git at git.openembedded.org git at git.openembedded.org
Thu Jul 11 11:26:05 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 8c5f229c3018f51ad98af32fd9b66ca12aba4d61
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Jul 11 12:11:14 2019 +0100

    fix
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/runqueue.py | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index b3116bc..c933519 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -2082,9 +2082,22 @@ class RunQueueExecuteTasks(RunQueueExecute):
 
 class SQData(object):
     def __init__(self):
+        # SceneQueue dependencies
+        self.sq_deps = {}
+        # SceneQueue reverse dependencies
+        self.sq_revdeps = {}
+        # Copy of reverse dependencies used by sq processing code
+        self.sq_revdeps2 = {}
+        # Injected inter-setscene task dependencies
         self.sq_harddeps = {}
+        # Cache of stamp files so duplicates can't run in parallel
         self.stamps = {}
+        # Setscene tasks directly depended upon by the build
         self.unskippable = []
+        # List of setscene tasks which aren't present
+        self.outrightfail = []
+        # A list of normal tasks a setscene task covers
+        self.sq_covered_tasks = {}
 
 def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
 
@@ -2240,7 +2253,6 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
     #        data = data + "\n   %s" % dep
     #    bb.warn("Task %s_setscene: is %s " % (tid, data
 
-    sqdata.sq_deps = {}
     sqdata.sq_revdeps = sq_revdeps_squash
     sqdata.sq_revdeps2 = copy.deepcopy(sqdata.sq_revdeps)
 
@@ -2258,7 +2270,6 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
 
     rqdata.init_progress_reporter.finish()
 
-    sqdata.outrightfail = []
     if rq.hashvalidate:
         sq_hash = []
         sq_hashfn = []

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list