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

build.ninja should always be left in a clean state by scons even if interrupted

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6.0 Desired
    • Component/s: Build
    • Labels:
      None

      Description

      Currently build.ninja is deleted by scons prior to rebuilding it. This means that if you interrupt it while it is being rebuilt, you can't just rerun ninja again, and instead must reinvoke scons, remembering any and all flags you previously passed it. Using SCons' Precious() helps here. In addition, you should write to a temporary file and rename on top of build.ninja when done writing to ensure that it is atomically replaced.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-devplatform Backlog - Server Development Platform Team (SDP)
            Reporter:
            redbeard0531 Mathias Stearn
            Participants:
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: