Ninja should not have to rebuild everything when build.ninja file is modified

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If my build.ninja file is modified at all, then ninja must perform a full rebuild of all 3k+ objects for the mongod binary. This occurs most during git branch checkouts, which often modifies Scons dependencies. This makes branch checkouts, a commonly recommended server workflow, impractical.

      The old ninja module was able to determine which files actually required rebuilding. We should consider making a similar optimization for the new Ninja generator.

            Assignee:
            [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: