From bbb5d2ccc6a0b37611b4877d8bb1d6b969da7bf2 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Sat, 2 Mar 2019 14:10:59 -0500 Subject: Forgot to add current file csig when shortcutting calling changed_content(). Directly calling get_csig() when there is no previous build history --- src/engine/SCons/Node/FS.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py index f520af1..61054f3 100644 --- a/src/engine/SCons/Node/FS.py +++ b/src/engine/SCons/Node/FS.py @@ -3417,7 +3417,12 @@ class File(Base): # prev_ni as there aren't any # shortcut the rest of the logic if MD5_TIMESTAMP_DEBUG: print("Skipping checks len(dmap)=0") + + # We still need to get the current file's csig + # This should be slightly faster than calling self.changed_content(target, new_prev_ni) + self.get_csig() return True + new_prev_ni = self._get_previous_signatures(dependency_map) new = self.changed_timestamp_match(target, new_prev_ni) -- cgit v0.12