build: upgrade bazel to 9.0.1#23
Open
filmil wants to merge 2 commits into
Open
Conversation
- Update .bazelversion to 9.0.1. - Update MODULE.bazel to use Bzlmod fully and upgrade dependencies (rules_cc, platforms). - Replace aspect_bazel_lib with bazel_lib. - Add rules_python for py_binary usage in toolchain archives. - Update toolchain/config.bzl to conform to Starlarkified C++ toolchain rules (cc_common.create_cc_toolchain_config_info). This commit has been created by an automated coding assistant, with human supervision. upgrade the bazel version used to 9.0.1 send pr
|
+1 on this PR |
Author
|
Hm I didn't originally intend the patch to go beyond my fork, but I suppose if y'all are OK with it, there it is for you to use. |
|
in terms of diff it's pretty simple. most of the changes are forward compatible with bazel 8, so it might be worth only doing a single bump to the latest stable 8 rather than going all the way to 9 |
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.
This PR upgrades the project to use Bazel 9.0.1.
Summary of changes:
.bazelversionto 9.0.1.MODULE.bazelto correctly use Bzlmod and bumped dependencies (rules_cc,platforms,bazel_skylib).aspect_bazel_libwith the renamedbazel_lib.rules_pythonto supportpy_binaryusage.toolchain/config.bzlto use the Starlarkified C++cc_common.create_cc_toolchain_config_infoinstead of removed built-ins.This pull request has been created by an automated coding assistant, with human supervision.
upgrade the bazel version used to 9.0.1
send pr