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

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

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

      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:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: