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

switch testing build targets to dynamic link model in evergreen

    XMLWordPrintable

Details

    • Improvement
    • Status: Investigating
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Dev Platform 2022-05-16, Dev Platform 2022-05-30, Dev Platform 2022-07-25
    • 26

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              backlog-server-devplatform Backlog - Server Development Platform Team (SDP)
              daniel.moody@mongodb.com Daniel Moody
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: