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

ninja and/or scons should prompt for confirmation when using a large "j" value without icecream

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Development Platform
    • Dev Platform 2020-08-24

      Compiling with -j400 without icecream support is a recipe for disaster. It's an easy mistake to make, and it can happen due to either user misconfiguration or bugs in the ninja generator.

      On virtual workstations, SSH connections will time out, and the only resolution is to reset the host.

      It would be nice to add a prompt to say: "Are you sure you want to do this? You tried to compile with 400 jobs but your system only has 16 cores and icecream support isn't enabled. This will not end well".

            Assignee:
            tausif.rahman@mongodb.com Tausif Rahman (Inactive)
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            2 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: