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

Ninja builder should be able to correctly determine out of date-ness

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Development Platform
    • ALL
    • Dev Platform 2020-02-24

      After generating a fresh ninja file and executing ninja it will immediately regenerate itself. This is because Ninja does not know anything about the SCons* files on first run so assumes they are out of date and re-runs the generation command.

      We should either populate .ninja_deps so it's aware it's been recently generated or teach the SCons Ninja builder how to determine it's out of date-ness so when ninja runs the generation command it will only determine there's no work to do.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            mathew.robinson@mongodb.com Mathew Robinson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: