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

Mark link targets as Precious when incremental linking flags are enabled

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.13, 3.4.4, 3.5.4
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • v3.4, v3.2
    • Platforms 2017-03-27

      SCons tries to unlink the output of link steps from the filesystem before running the link step for programs or libraries. Typically this is the right thing to do for safety, but it makes incremental linking impossible.

      We should add a mechanism that detects if the current build is already using incremental linking, and tags the relevant files as Precious so that SCons does not remove them first.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: