summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorTausif Rahman <tausif.rahman@mongodb.com>2022-04-27 19:19:14 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-27 19:49:04 +0000
commit4e79ecabfa57623648688e5d602dae16e3f4a72c (patch)
treedf9431dd33dcfa0300f5fbb2d13d5e61d2a5c2c3 /site_scons
parentc6db2e961c4e0a65a606896c4a38f8fe1548cf45 (diff)
downloadmongo-4e79ecabfa57623648688e5d602dae16e3f4a72c.tar.gz
SERVER-54107 compile_commands.json should have an order-only dependency on generated-sources
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/site_tools/ninja.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/site_scons/site_tools/ninja.py b/site_scons/site_tools/ninja.py
index 0b0d3ed88bf..d069e16382b 100644
--- a/site_scons/site_tools/ninja.py
+++ b/site_scons/site_tools/ninja.py
@@ -879,7 +879,7 @@ class NinjaState:
)
ninja.build(
- "compiledb", rule="phony", implicit=["compile_commands.json"],
+ "compiledb", rule="phony", implicit=["compile_commands.json"], order_only=[generated_sources_alias],
)
# Look in SCons's list of DEFAULT_TARGETS, find the ones that