Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-66014

switch testing build targets to dynamic link model in evergreen

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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?

            Assignee:
            juan.gu@mongodb.com Juan Gu
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: