Info
To reproduce run this command multiple times on windows:
python buildscripts/scons.py --build-profile=opt LIBPATH="C:/sasl/lib" CPPPATH="C:/sasl/include" --ninja=disabled build/opt/mongo/db/basic_types_gen.cpp
You will notice the reinstall step is always re-performed. This mostly likely is due to the use of run_shell in out poetry installer. "run_shell" is not well supported on windows: https://bazel.build/configure/windows#sh-rules-without-bash
Top User Comments
xgen-internal-githook commented on Tue, 20 Aug 2024 20:09:01 +0000:
Author:
{'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}
Message: SERVER-93200 fix windows incremental builds (#26297)
GitOrigin-RevId: c8bf78533cd740cd89ff62d06872e53c2da780a6
Branch: master
https://github.com/mongodb/mongo/commit/554901cea934ab4df94cf4cb9bca721a51279e70
JIRAUSER1253549 commented on Tue, 13 Aug 2024 04:59:56 +0000:
Linking SERVER-93505 which exacerbates this issue. The bazel rule causes the python modules to reinstall every-time which trigger code generation. SERVER-93505 causes the code generation to be non deterministic, which caused compile and relink. After SERVER-93505, the series of unfortunate events should stop at code generation.