Merged
Conversation
485eaa0 to
27363c8
Compare
27363c8 to
59bf7db
Compare
Bazel 9 is now released. The only blocker is that BCR `p4runtime 1.5.0` declares `bazel_compatibility < 9.0.0`. Suppress the check via `--check_bazel_compatibility=off` until a new p4runtime BCR release is cut (tracked in p4lang/p4runtime#597). Unlike `git_override`, this flag works for modules published to the BCR. Also add a Bazel version matrix to CI (7.x and 9.x), and fix macOS builds: use Command Line Tools clang to avoid requiring a full Xcode install, and set `macos_minimum_os=10.15` which is the minimum for `std::filesystem` support in libc++. Signed-off-by: Steffen Smolka <steffen.smolka@gmail.com> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Member
Author
|
@fruffy one more teeny tiny one 🙏 |
fruffy
approved these changes
Mar 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
This PR adds Bazel 9 support and fixes the build on macOS (without requiring a
full Xcode install).
Changes
.bazelversion: bump to 9.0.0MODULE.bazel: updatep4runtimeto1.5.0.bcr.1, which lifts the<9.0.0bazel_compatibilityupper bound (Add p4runtime 1.5.0.bcr.1 bazelbuild/bazel-central-registry#7742).bazelrc/bazel/example/.bazelrc: add--repo_env=CC=/usr/bin/clang(use Command Line Tools clang, no full Xcode required) and
--macos_minimum_os=10.15(minimum forstd::filesystemin libc++)