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

Mark link targets as Precious when incremental linking flags are enabled

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.13, 3.4.4, 3.5.4
    • Component/s: Build
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: