mirror of
https://git.yoctoproject.org/poky
synced 2026-09-20 03:49:32 +02:00
bitbake: runqueue.py: Fix typoes/grammar in comments.
(Bitbake rev: 000fa81013205dd9bc907ff7a61f06f57637212d) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
02455ebfbb
commit
34436672f3
@@ -97,7 +97,7 @@ class RunQueueScheduler(object):
|
|||||||
def __init__(self, runqueue, rqdata):
|
def __init__(self, runqueue, rqdata):
|
||||||
"""
|
"""
|
||||||
The default scheduler just returns the first buildable task (the
|
The default scheduler just returns the first buildable task (the
|
||||||
priority map is sorted by task numer)
|
priority map is sorted by task number)
|
||||||
"""
|
"""
|
||||||
self.rq = runqueue
|
self.rq = runqueue
|
||||||
self.rqdata = rqdata
|
self.rqdata = rqdata
|
||||||
@@ -186,7 +186,7 @@ class RunQueueSchedulerCompletion(RunQueueSchedulerSpeed):
|
|||||||
"""
|
"""
|
||||||
A scheduler optimised to complete .bb files are quickly as possible. The
|
A scheduler optimised to complete .bb files are quickly as possible. The
|
||||||
priority map is sorted by task weight, but then reordered so once a given
|
priority map is sorted by task weight, but then reordered so once a given
|
||||||
.bb file starts to build, its completed as quickly as possible. This works
|
.bb file starts to build, it's completed as quickly as possible. This works
|
||||||
well where disk space is at a premium and classes like OE's rm_work are in
|
well where disk space is at a premium and classes like OE's rm_work are in
|
||||||
force.
|
force.
|
||||||
"""
|
"""
|
||||||
@@ -795,7 +795,7 @@ class RunQueueData:
|
|||||||
for st in self.cooker.configuration.invalidate_stamp.split(','):
|
for st in self.cooker.configuration.invalidate_stamp.split(','):
|
||||||
invalidate_task(fn, "do_%s" % st, True)
|
invalidate_task(fn, "do_%s" % st, True)
|
||||||
|
|
||||||
# Interate over the task list and call into the siggen code
|
# Iterate over the task list and call into the siggen code
|
||||||
dealtwith = set()
|
dealtwith = set()
|
||||||
todeal = set(range(len(self.runq_fnid)))
|
todeal = set(range(len(self.runq_fnid)))
|
||||||
while len(todeal) > 0:
|
while len(todeal) > 0:
|
||||||
@@ -967,11 +967,11 @@ class RunQueue:
|
|||||||
|
|
||||||
stampfile = bb.build.stampfile(taskname, self.rqdata.dataCache, fn)
|
stampfile = bb.build.stampfile(taskname, self.rqdata.dataCache, fn)
|
||||||
|
|
||||||
# If the stamp is missing its not current
|
# If the stamp is missing, it's not current
|
||||||
if not os.access(stampfile, os.F_OK):
|
if not os.access(stampfile, os.F_OK):
|
||||||
logger.debug(2, "Stampfile %s not available", stampfile)
|
logger.debug(2, "Stampfile %s not available", stampfile)
|
||||||
return False
|
return False
|
||||||
# If its a 'nostamp' task, it's not current
|
# If it's a 'nostamp' task, it's not current
|
||||||
taskdep = self.rqdata.dataCache.task_deps[fn]
|
taskdep = self.rqdata.dataCache.task_deps[fn]
|
||||||
if 'nostamp' in taskdep and taskname in taskdep['nostamp']:
|
if 'nostamp' in taskdep and taskname in taskdep['nostamp']:
|
||||||
logger.debug(2, "%s.%s is nostamp\n", fn, taskname)
|
logger.debug(2, "%s.%s is nostamp\n", fn, taskname)
|
||||||
@@ -1688,7 +1688,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
|
|||||||
|
|
||||||
process_endpoints(endpoints)
|
process_endpoints(endpoints)
|
||||||
|
|
||||||
# Build a list of setscene tasks which as "unskippable"
|
# Build a list of setscene tasks which are "unskippable"
|
||||||
# These are direct endpoints referenced by the build
|
# These are direct endpoints referenced by the build
|
||||||
endpoints2 = {}
|
endpoints2 = {}
|
||||||
sq_revdeps2 = []
|
sq_revdeps2 = []
|
||||||
|
|||||||
Reference in New Issue
Block a user