-
Type: Improvement
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Dev Platform 2021-09-06
If we update MONGO_VERSION and attempt to rebuild using ninja, auto-generated files that use MONGO_VERSION will not automatically regenerate. Sample repro:
$ git checkout r5.0.2~1 $ scons ... --ninja generate-ninja $ ninja build/.../mongo/util/version_constants.h $ git checkout r5.0.2 $ ninja build/.../mongo/util/version_constants.h
The second build should not return "ninja: no work to do"
The files are regenerated correctly when using plain SCons.