diff options
author | Mathew Robinson <chasinglogic@gmail.com> | 2019-08-21 10:45:57 -0400 |
---|---|---|
committer | Mathew Robinson <chasinglogic@gmail.com> | 2019-08-22 15:56:34 -0400 |
commit | 171118e6ac2bf5f8b50dbcc10b5d4082cd061b7e (patch) | |
tree | e3eab4145d324f49d71d583b89f6f7b5a9d4b2f5 /site_scons | |
parent | c2ac6fb3c04fd97cefbdc4f8bca0ee57e031a260 (diff) | |
download | mongo-171118e6ac2bf5f8b50dbcc10b5d4082cd061b7e.tar.gz |
SERVER-42944 Update compilation_db decider to new signature
Diffstat (limited to 'site_scons')
-rw-r--r-- | site_scons/site_tools/compilation_db.py | 4 | ||||
-rw-r--r-- | site_scons/site_tools/git_decider.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/site_scons/site_tools/compilation_db.py b/site_scons/site_tools/compilation_db.py index 07aa2d96e58..03c5e70b42d 100644 --- a/site_scons/site_tools/compilation_db.py +++ b/site_scons/site_tools/compilation_db.py @@ -49,8 +49,8 @@ class __CompilationDbNode(SCons.Node.Python.Value): self.Decider(changed_since_last_build_node) -def changed_since_last_build_node(node, target, prev_ni): - """ Dummy decider to force alwasy building""" +def changed_since_last_build_node(child, target, prev_ni, node): + """ Dummy decider to force always building""" return True diff --git a/site_scons/site_tools/git_decider.py b/site_scons/site_tools/git_decider.py index 51e6cd54b26..fb0c9c7657b 100644 --- a/site_scons/site_tools/git_decider.py +++ b/site_scons/site_tools/git_decider.py @@ -53,9 +53,9 @@ def generate(env, **kwargs): result = gitInfoForDep == prev_ni.csig return result - def MongoGitDecider(dependency, target, prev_ni): + def MongoGitDecider(dependency, target, prev_ni, node): if not is_known_to_git(dependency): - return base_decider(dependency, target, prev_ni) + return base_decider(dependency, target, prev_ni, node) return not git_says_file_is_up_to_date(dependency, prev_ni) env.Decider(MongoGitDecider) |