-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Allow platform-specific startup options #22763
Copy link
Copy link
Closed
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-Configurabilityplatforms, toolchains, cquery, select(), config transitionsplatforms, toolchains, cquery, select(), config transitionstype: feature request
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-Configurabilityplatforms, toolchains, cquery, select(), config transitionsplatforms, toolchains, cquery, select(), config transitionstype: feature request
Description of the feature request:
Where a startup option is platform specific, currently there is no way to handle it in a single .bazelrc file that supports both platforms.
This would be desired:
A similar syntax and set of built-in platforms to those supported by
--enable_platform_specific_configwould seem reasonable. I am not suggesting that we support the --config command line for startup.Which category does this issue belong to?
Configurability
What underlying problem are you trying to solve with this feature?
A single .bazelrc file that can build multiple platforms without needing to 'configure' the file prior to first build.
Which operating system are you running Bazel on?
windows
What is the output of
bazel info release?7.2.0
If
bazel info releasereturnsdevelopment versionor(@non-git), tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD?No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response