Details
-
Improvement
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
None
-
None
-
Dev Platform 2021-09-06
Description
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.