* [PATCH 1/4] runqueue: Remove trailing whitespace
@ 2018-07-06 15:41 Joshua Watt
2018-07-06 15:41 ` [PATCH 2/4] siggen: Delete " Joshua Watt
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Joshua Watt @ 2018-07-06 15:41 UTC (permalink / raw)
To: bitbake-devel
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
bitbake/lib/bb/runqueue.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 0a4d1554663..792b91a11c1 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1061,7 +1061,7 @@ class RunQueueData:
# Create a whitelist usable by the stamp checks
self.stampfnwhitelist = {}
- for mc in self.taskData:
+ for mc in self.taskData:
self.stampfnwhitelist[mc] = []
for entry in self.stampwhitelist.split():
if entry not in self.taskData[mc].build_targets:
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 2/4] siggen: Delete trailing whitespace 2018-07-06 15:41 [PATCH 1/4] runqueue: Remove trailing whitespace Joshua Watt @ 2018-07-06 15:41 ` Joshua Watt 2018-07-06 15:41 ` [PATCH 3/4] runqueue: Remove unused variable Joshua Watt 2018-07-06 15:42 ` [PATCH 4/4] runqueue: Stop on first unsatisfied dependency Joshua Watt 2 siblings, 0 replies; 6+ messages in thread From: Joshua Watt @ 2018-07-06 15:41 UTC (permalink / raw) To: bitbake-devel Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> --- bitbake/lib/bb/siggen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index 5ef82d7be0e..ab228e4148e 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py @@ -347,7 +347,7 @@ class SignatureGeneratorBasicHash(SignatureGeneratorBasic): def stampcleanmask(self, stampbase, fn, taskname, extrainfo): return self.stampfile(stampbase, fn, taskname, extrainfo, clean=True) - + def invalidate_task(self, task, d, fn): bb.note("Tainting hash to force rebuild of task %s, %s" % (fn, task)) bb.build.write_taint(task, d, fn) @@ -636,7 +636,7 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False): if collapsed: output.extend(recout) else: - # If a dependent hash changed, might as well print the line above and then defer to the changes in + # If a dependent hash changed, might as well print the line above and then defer to the changes in # that hash since in all likelyhood, they're the same changes this task also saw. output = [output[-1]] + recout -- 2.17.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/4] runqueue: Remove unused variable 2018-07-06 15:41 [PATCH 1/4] runqueue: Remove trailing whitespace Joshua Watt 2018-07-06 15:41 ` [PATCH 2/4] siggen: Delete " Joshua Watt @ 2018-07-06 15:41 ` Joshua Watt 2018-07-06 15:42 ` [PATCH 4/4] runqueue: Stop on first unsatisfied dependency Joshua Watt 2 siblings, 0 replies; 6+ messages in thread From: Joshua Watt @ 2018-07-06 15:41 UTC (permalink / raw) To: bitbake-devel Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> --- bitbake/lib/bb/runqueue.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 792b91a11c1..8ce9ad51898 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -1892,8 +1892,6 @@ class RunQueueExecuteTasks(RunQueueExecute): alldeps = 0 if alldeps == 1: self.setbuildable(revdep) - fn = fn_from_tid(revdep) - taskname = taskname_from_tid(revdep) logger.debug(1, "Marking task %s as buildable", revdep) def task_complete(self, task): -- 2.17.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/4] runqueue: Stop on first unsatisfied dependency 2018-07-06 15:41 [PATCH 1/4] runqueue: Remove trailing whitespace Joshua Watt 2018-07-06 15:41 ` [PATCH 2/4] siggen: Delete " Joshua Watt 2018-07-06 15:41 ` [PATCH 3/4] runqueue: Remove unused variable Joshua Watt @ 2018-07-06 15:42 ` Joshua Watt 2018-07-09 15:53 ` Paul Eggleton 2 siblings, 1 reply; 6+ messages in thread From: Joshua Watt @ 2018-07-06 15:42 UTC (permalink / raw) To: bitbake-devel Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> --- bitbake/lib/bb/runqueue.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 8ce9ad51898..ba9bebebcfe 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -1886,11 +1886,12 @@ class RunQueueExecuteTasks(RunQueueExecute): continue if revdep in self.runq_buildable: continue - alldeps = 1 + alldeps = True for dep in self.rqdata.runtaskentries[revdep].depends: if dep not in self.runq_complete: - alldeps = 0 - if alldeps == 1: + alldeps = False + break + if alldeps: self.setbuildable(revdep) logger.debug(1, "Marking task %s as buildable", revdep) -- 2.17.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 4/4] runqueue: Stop on first unsatisfied dependency 2018-07-06 15:42 ` [PATCH 4/4] runqueue: Stop on first unsatisfied dependency Joshua Watt @ 2018-07-09 15:53 ` Paul Eggleton 2018-07-09 17:43 ` Joshua Watt 0 siblings, 1 reply; 6+ messages in thread From: Paul Eggleton @ 2018-07-09 15:53 UTC (permalink / raw) To: Joshua Watt; +Cc: bitbake-devel Hi Joshua On Friday, 6 July 2018 5:42:00 PM CEST Joshua Watt wrote: > runqueue: Stop on first unsatisfied dependency Richard merged this already, but for future non-trivial patches could you please include a commit message that explains the change (particularly why the change is being made, rather than just restating what's been changed). Thanks, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 4/4] runqueue: Stop on first unsatisfied dependency 2018-07-09 15:53 ` Paul Eggleton @ 2018-07-09 17:43 ` Joshua Watt 0 siblings, 0 replies; 6+ messages in thread From: Joshua Watt @ 2018-07-09 17:43 UTC (permalink / raw) To: Paul Eggleton; +Cc: bitbake-devel On Mon, Jul 9, 2018 at 10:53 AM Paul Eggleton <paul.eggleton@linux.intel.com> wrote: > > Hi Joshua > > On Friday, 6 July 2018 5:42:00 PM CEST Joshua Watt wrote: > > runqueue: Stop on first unsatisfied dependency > > Richard merged this already, but for future non-trivial patches could you > please include a commit message that explains the change (particularly why the > change is being made, rather than just restating what's been changed). Yes, sorry. I will try to be more diligent in the future. Thanks, Joshua Watt > > Thanks, > Paul > > -- > > Paul Eggleton > Intel Open Source Technology Centre > > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-07-09 17:44 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-07-06 15:41 [PATCH 1/4] runqueue: Remove trailing whitespace Joshua Watt 2018-07-06 15:41 ` [PATCH 2/4] siggen: Delete " Joshua Watt 2018-07-06 15:41 ` [PATCH 3/4] runqueue: Remove unused variable Joshua Watt 2018-07-06 15:42 ` [PATCH 4/4] runqueue: Stop on first unsatisfied dependency Joshua Watt 2018-07-09 15:53 ` Paul Eggleton 2018-07-09 17:43 ` Joshua Watt
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.