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

Simplify Bazel CLI flag usage

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Build
    • Fully Compatible

      Right now the Bazel CLI is very verbose. Each flag needs --//bazel/config: as a prefix, which is a lot of typing and usually ends up being hundreds of characters. During the initial migration this is hidden behind scons.py, but once we expose bazel build to developers, this needs to be cleaner.

      If possible migrate these flags to the top level, ex: --//bazel/config:linkstatic=True would be --//:linkstatic=True. I believe this is possible with aliases, but it might need some work to get setup

            Assignee:
            udita.bose@mongodb.com Udita Bose
            Reporter:
            zack.winter@mongodb.com Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: