mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-12 19:45:31 +01:00
Ensure bld.current_group reflects the current group while building
This commit is contained in:
parent
585d7876f1
commit
3cee7b36f0
@ -810,12 +810,12 @@ class BuildContext(Context.Context):
|
||||
Task.set_precedence_constraints(tasks)
|
||||
|
||||
self.cur_tasks = tasks
|
||||
if tasks:
|
||||
yield tasks
|
||||
self.current_group += 1
|
||||
if not tasks: # return something else the build will stop
|
||||
continue
|
||||
yield tasks
|
||||
|
||||
while 1:
|
||||
# the build stops once there are no tasks to process
|
||||
yield []
|
||||
|
||||
def install_files(self, dest, files, **kw):
|
||||
|
Loading…
Reference in New Issue
Block a user