mirror of https://gitlab.com/ita1024/waf.git
Issue 1506
This commit is contained in:
parent
803bbe6674
commit
046c55a97e
|
@ -729,12 +729,14 @@ class Task(TaskBase):
|
||||||
try:
|
try:
|
||||||
if prev == self.compute_sig_implicit_deps():
|
if prev == self.compute_sig_implicit_deps():
|
||||||
return prev
|
return prev
|
||||||
except Exception:
|
except Errors.TaskNotReady:
|
||||||
|
raise
|
||||||
|
except IOError:
|
||||||
# when a file was renamed (IOError usually), remove the stale nodes (headers in folders without source files)
|
# when a file was renamed (IOError usually), remove the stale nodes (headers in folders without source files)
|
||||||
# this will break the order calculation for headers created during the build in the source directory (should be uncommon)
|
# this will break the order calculation for headers created during the build in the source directory (should be uncommon)
|
||||||
# the behaviour will differ when top != out
|
# the behaviour will differ when top != out
|
||||||
for x in bld.node_deps.get(self.uid(), []):
|
for x in bld.node_deps.get(self.uid(), []):
|
||||||
if x.is_child_of(bld.srcnode):
|
if not x.is_bld():
|
||||||
try:
|
try:
|
||||||
os.stat(x.abspath())
|
os.stat(x.abspath())
|
||||||
except OSError:
|
except OSError:
|
||||||
|
|
Loading…
Reference in New Issue