mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
Missing sorting, which may lead to unnecessary rebuilds
This commit is contained in:
parent
c50f084ac8
commit
7b7531b0c6
@ -39,6 +39,7 @@ class src2c(Task.Task):
|
||||
if getattr(self.generator, 'link_task', None):
|
||||
self.generator.link_task.set_run_after(tsk)
|
||||
self.generator.link_task.inputs.append(tsk.outputs[0])
|
||||
self.generator.link_task.inputs.sort(key=lambda x: x.abspath())
|
||||
|
||||
def runnable_status(self):
|
||||
|
||||
|
@ -642,6 +642,7 @@ class src2c(Task.Task):
|
||||
if getattr(self.generator, 'link_task', None): <8>
|
||||
self.generator.link_task.set_run_after(tsk)
|
||||
self.generator.link_task.inputs.append(tsk.outputs[0])
|
||||
self.generator.link_task.inputs.sort(key=lambda x: x.abspath())
|
||||
|
||||
def runnable_status(self):
|
||||
ret = super(src2c, self).runnable_status()
|
||||
|
Loading…
Reference in New Issue
Block a user