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

Ensure ninja's generator local_pool has real concurrency

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc6, 4.7.0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Dev Platform 2020-05-18

      The SCons ninja generator uses the SCons concurrency setting to configure the local_pool in the generated build.ninja, which constrains the number of local jobs. Unfortunately, the detection in SCons happens too late, and the local_pool always ends up having depth 1. This greatly slows down the early part of the build where we are doing things like generating files from IDL, which uses the local concurrency.

      We can also be a little smarter about preventing misconfiguration by the user.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: