[oe-commits] [bitbake] branch master-next updated: runqueue: Ensure only recursive task dependencies are pruned
git at git.openembedded.org
git at git.openembedded.org
Tue Feb 27 21:49:10 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
The following commit(s) were added to refs/heads/master-next by this push:
new 4cfca36 runqueue: Ensure only recursive task dependencies are pruned
4cfca36 is described below
commit 4cfca360891e1ed876a9c19487b4f6210686af26
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Feb 27 13:44:17 2018 +0000
runqueue: Ensure only recursive task dependencies are pruned
If a standalone tasks adds a dependency on X:do_build, the code in runqueue would
currently remove it if that do_build was part of an image recipe which uses
recrdeptask on do_build.
Such individual tasks shouldn't do this, therefore tweak the recursive reference code
to only process recurseive tasks, not all tasks.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/runqueue.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 48df013..f2e52cf 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -765,7 +765,7 @@ class RunQueueData:
bb.debug(1, "Added %s recursive dependencies in this loop" % extradeps)
# Remove recrdeptask circular references so that do_a[recrdeptask] = "do_a do_b" can work
- for tid in self.runtaskentries:
+ for tid in recursivetasksselfref:
self.runtaskentries[tid].depends.difference_update(recursivetasksselfref)
self.init_progress_reporter.next_stage()
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list