Current cmake/toolchains includes a mongodbtoolchain_stable configuration. This allows identifying the toolchain in use for production when the code was committed.
This concept is not extended to all platforms, that is: MacOS, Windows, Unixes, other Linux distributions.
As no information retained about the expected toolchain version in these other environments upgrades in build host environments could break backports.
Steps
- Consult team about whether the value/effort ration is justified. (Commercial platforms vendor supplied toolchains are compatibility conscious between releases.)
- If added the stable toolchain aliases will likely have to contain decision making code, and might be divided into: stable_clang, stable_gcc, stable_native.