Skip to content

Add support for specifying --bazelrc multiple times #7489

@burkpojken

Description

@burkpojken

Description of the problem / feature request:

Today it is not possible to add multiple --bazelrc options to the command line.

Feature requests: what underlying problem are you trying to solve with this feature?

We have some default options in a common bazelrc file that is used in many workspaces since the options are needed to build for our platform.
Today we need to add those options in all user .bazelrc WORKSPACE files.
If it would be possible to add multiple --bazelrc options on the command line we could have one rc file for the common parameters and still be able to use other bazelrc files for the user projects.

What operating system are you running Bazel on?

linux

What's the output of bazel info release?

0.20.0

Have you found anything relevant by searching the web?

No

Any other information, logs, or outputs that you want to share?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)staleIssues or PRs that are stale (no activity for 30 days)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: feature request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions