-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Critical - P2
-
Affects Version/s: None
-
Component/s: None
-
None
-
Build
-
Fully Compatible
-
ALL
If I touch size_classes.cc, an incremental compile of Bazel compiles the new object, but doesn't re-link it into mongod. I can force a link to happen if I touch a header file like cpu_cache.h.
I'm building with this SCons invocation options:
python3 buildscripts/scons.py --opt=on --dbg=off CCFLAGS='-fdiagnostics-color=always' --use-diagnostic-latches=off --variables-files=etc/scons/developer_versions.vars --variables-files=etc/scons/mongodbtoolchain_stable_clang.vars ICECC=icecc CCACHE=ccache VARIANT_DIR=opt --modules= NINJA_PREFIX=opt --link-model=static --ninja opt.ninja
And this ninja command:
ninja -f opt.ninja -j100 install-mongod
Please pass this to Service Arch if this is a configuration issue. But naively, it seems like a Bazel problem.