GRPC Core
43.0.0
|
The grpc/grpc
repository's primary build system is Bazel. Rules are provided for C++, Python, and Objective-C. While C++ supports other build systems such as CMake, these rules are actually generated from the Bazel definitions.
Projects built with Bazel may use the grpc/grpc
repo not only to add a dependency on the library itself, but also to generate protobuf, stub, and servicer code. To do so, one must invoke the grpc_deps
and grpc_extra_deps
repository rules in their WORKSPACE
file:
gRPC supports building with the latest stable release of Bazel, as well as the previous major version release for at least 6 months after it transitions into maintenance mode. This is consistent with the supported build systems of the Google Foundational C++ Support Policy. However individual releases may have a broader compatibility range. The currently supported versions are captured by the following list:
NOTE: gRPC doesn't support bzlmod yet.