-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Development Platform
-
Fully Compatible
-
Dev Platform 2022-05-16, Dev Platform 2022-05-30, Dev Platform 2022-07-25
-
19
Due to memory pressure, we should aim to switch our testing build targets (such as compile_unittests and compile_all) to use a dynamic link model to reduce memory footprint of the build.
A reoccurring issue is running out of memory during numerous concurrent links during link-model static builds for the testing build targets. This should be straight forward due to the way scons and scons cache work, but the tradeoff for reduced memory footprint will be additional compilation and cache transfers.
There are other nuances such as jlink? We still would want jlink active for the static non testing build targets, so we would need some way to prevent that jlink from affecting the dynamic link testing targets. Possible a dynamic link-model should just ignore the jlink setting?
- causes
-
SERVER-81396 "Enterprise RHEL 8.3 s390x Shared" build variant is overwriting the binaries of "Enterprise RHEL 8.3 s390x" (non-Shared)
- Closed
- is duplicated by
-
SERVER-66035 Convert everything possible to use --link-model=dynamic
- Closed
- is related to
-
SERVER-49271 Convert more non-shipping non-windows builders to --link-model=dynamic
- Closed
-
SERVER-70839 Spawning dynamically linked mongod processes takes ~30 secs on EVG
- Closed
- related to
-
SERVER-68024 Prevent users and evergreen for building statically linked unit tests
- Closed