Skip to content

[9.0.2] Allow platform-specific startup bazelrc flags (https://github.com/baz…#29251

Merged
iancha1992 merged 1 commit intobazelbuild:release-9.0.2from
iancha1992:cp29228
Apr 8, 2026

Conversation

@iancha1992
Copy link
Copy Markdown
Member

…elbuild/bazel/pull/26882)

This enables the use of startup:linux, startup:macos, etc. This is always enabled.

Fixes #22763

RELNOTES[inc]: Add support for startup:linux, startup:macos, etc bazelrc options.

Closes #26882.

PiperOrigin-RevId: 896083689
Change-Id: Id4da6e6689e337951664317755596cfd4ab52703

Description

Motivation

Build API Changes

No

Checklist

  • I have added tests for the new use cases (if any).
  • I have updated the documentation (if applicable).

Release Notes

RELNOTES: None

Commit ea7b4ba

This enables the use of `startup:linux`, `startup:macos`, etc. This is
always enabled.

Fixes bazelbuild#22763

RELNOTES[inc]: Add support for `startup:linux`, `startup:macos`, etc
bazelrc options.

Closes bazelbuild#26882.

PiperOrigin-RevId: 896083689
Change-Id: Id4da6e6689e337951664317755596cfd4ab52703
@iancha1992 iancha1992 requested a review from a team as a code owner April 8, 2026 17:59
@iancha1992 iancha1992 added team-Configurability platforms, toolchains, cquery, select(), config transitions awaiting-review PR is awaiting review from an assigned reviewer labels Apr 8, 2026
@iancha1992 iancha1992 enabled auto-merge April 8, 2026 18:00
@github-actions github-actions Bot added team-Rules-CPP Issues for C++ rules team-Rules-Server Issues for serverside rules included with Bazel team-Documentation Documentation improvements that cannot be directly linked to other team labels labels Apr 8, 2026
@iancha1992 iancha1992 added this pull request to the merge queue Apr 8, 2026
@gregestren gregestren added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Apr 8, 2026
Merged via the queue into bazelbuild:release-9.0.2 with commit 51409ec Apr 8, 2026
46 checks passed
@github-actions github-actions Bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Apr 8, 2026
iancha1992 added a commit to iancha1992/bazel that referenced this pull request Apr 9, 2026
….com/baz… (bazelbuild#29251)

…elbuild/bazel/pull/26882)

This enables the use of `startup:linux`, `startup:macos`, etc. This is
always enabled.

Fixes bazelbuild#22763

RELNOTES[inc]: Add support for `startup:linux`, `startup:macos`, etc
bazelrc options.

Closes bazelbuild#26882.

PiperOrigin-RevId: 896083689
Change-Id: Id4da6e6689e337951664317755596cfd4ab52703

<!--
Thank you for contributing to Bazel!
Please read the contribution guidelines:
https://bazel.build/contribute.html
-->

### Description
<!--
Please provide a brief summary of the changes in this PR.
-->

### Motivation
<!--
Why is this change important? Does it fix a specific bug or add a new
feature?
If this PR fixes an existing issue, please link it here (e.g. "Fixes
bazelbuild#1234").
-->

### Build API Changes
<!--
Does this PR affect the Build API? (e.g. Starlark API, providers,
command-line flags, native rules)
If yes, please answer the following:
1. Has this been discussed in a design doc or issue? (Please link it)
2. Is the change backward compatible?
3. If it's a breaking change, what is the migration plan?
-->

No

### Checklist

- [ ] I have added tests for the new use cases (if any).
- [ ] I have updated the documentation (if applicable).

### Release Notes

<!--
If this is a new feature, please add 'RELNOTES[NEW]: <description>'
here.
If this is a breaking change, please add 'RELNOTES[INC]: <reason>' here.
If this change should be mentioned in release notes, please add
'RELNOTES: <reason>' here.
-->

RELNOTES: None

Commit
bazelbuild@ea7b4ba

Co-authored-by: Keith Smiley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-Configurability platforms, toolchains, cquery, select(), config transitions team-Documentation Documentation improvements that cannot be directly linked to other team labels team-Rules-CPP Issues for C++ rules team-Rules-Server Issues for serverside rules included with Bazel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants