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

suppress bazel compilation output in ninja builds by default

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Build
    • Fully Compatible
    • Build OnDeck

      The bazel build will output a lot of information when it compiles new things (cache miss situation) only in ninja builds, it seems we can add some flags to quiet this:

      https://github.com/bazelbuild/bazel/issues/4867#issuecomment-830402410

      --ui_event_filters=-info,-debug,-warning,-stderr,-stdout

      The application of this flag should be tied to the VERBOSE value on the scons command line.

      We may also want to prevent the bazel command from being printed on non VERBOSE build as its getting very large.

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: