-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support bzlmod-based builds #11485
Comments
Waiting for Bazel 7.0 |
I'll take a stab at some of the tasks this week. |
The migration guide https://bazel.build/external/migration |
I think we're gonna first just want to compile with bazel 7.0, and then we can tackle bazelmod. Waiting to see if we can get that build working on Mac (bazelbuild/bazel#20513) and Windows. |
FYI timeline for support for Bazel 6 is until December 2025 |
Yes, but the support policy for the libraries is only 6 months: https://opensource.google/documentation/policies/cplusplus-support#support_criteria_3 I will argue that we should only start the clock on Bazel 6 once Bazel 7 works. |
Add this to 2024 planning. |
As there is a working |
We're still waiting on several of our dependencies to be added to BCR. The Bazel team is aware of this and is working on it. |
Bazel is adding a new (better) way to handle dependencies:
https://bazel.build/external/overview#bzlmod
This automatically handles recursive dependencies, resolves diamond dependencies, etc. And supports multiple registries of packages:
https://bazel.build/external/registry
With a default "global registry":
https://github.com/bazelbuild/bazel-central-registry
We need to figure out a number of things, and implement a number of things. This list is probably not exhaustive, it needs to be filled out:
curl
module in BCR does not support HTTPs. Filed [Bug]:curl
module provides non-functionalhttp_only
flag bazelbuild/bazel-central-registry#2332googleapis
module in BCR.googleapis
in BCR just before creating a new version ofgoogle-cloud-cpp
in BCR.- These cannot change until there is a BCR module for
google-cloud-cpp
.The text was updated successfully, but these errors were encountered: