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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • Dev Platform 2020-08-24

    Description

      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".

      Attachments

        Issue Links

          Activity

            People

              andrew.morrow@mongodb.com Andrew Morrow
              louis.williams@mongodb.com Louis Williams
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: