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

Add gen_source tag to bazel generated sources

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Build

      We want to be able to build all the generated sources and the compile_commands.json with a single simple bazel command.

      This ticket is for adding "gen_source" tag to all generated sources. This will mostly be covered by using a macro for generated source rules and adding the tag in the macro when the rule is invoked.

      ideally in enough time the command would look like:

      bazelisk build --build_profile=compiledb --build_tag_filters=gen_source //:compiledb //src/...
      

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

              Created:
              Updated: