-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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
Provide a Bzlmod module to support Bazel6 #13618
Comments
Thanks for the request! We are interested in moving to Bzlmod in the near future and are in communication with Bazel folks on our side. We are currently blocking on the completion of some work to restructure our repositories which will also affect our existing We expect to start on the Bzlmod effort shortly after and can update back here once this is staffed. We do already officially support Bazel 6, but the rest of #12489 moving to platforms is currently on hold . |
FYI @comius |
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment. This issue is labeled |
Still desired |
running into this issue with gazelle and protobuffs deps |
There are already patches under Bazel Central Registry to bring bzlmod support to protobuf. But only for several history versions. Is it possible to reuse those patches for the latest code? |
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment. This issue is labeled |
ping |
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment. This issue is labeled |
$hello_world |
protobuf is already published to https://registry.bazel.build/modules/protobuf and managed by the protobuf team. |
I'm installing the ProtoBuf lib on my Radxa Rock 3A Debian Bullseye to compile the source code for NCNN. bazel build :protoc :protobuf it raise an error: INFO: Reading rc options for 'build' from /home/radxa/protobuf-28.1/.bazelrc: Inherited 'common' options: --noenable_bzlmod --repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1 ERROR: --noenable_bzlmod :: Unrecognized option: --noenable_bzlmod I checked .bazelrc, and found this link. |
@touchinglie Please upgrade your Bazel version to at least Bazel 6, ideally Bazel 7 |
What language does this apply to?
If it's a proto syntax change, is it for proto2 or proto3? No
If it's about generated code change, what programming language? No
Describe the problem you are trying to solve.
Being able to use protobuf as module in a Bazel project
Describe the solution you'd like
Providing a MODULE.bazel file
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.
There is a draft here #12489 but not updated for April 2023, maybe @deannagarcia ?
If the request sounds valuable, i can contribute to provide the module file
Olivier
The text was updated successfully, but these errors were encountered: