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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Server Development Platform
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: