This directory contains the gRPC libraries needed by Bazel, sourced from https://github.com/grpc/grpc.
Repo | Current |
---|---|
grpc/grpc | v1.48.1 |
third_party/grpc
This requires 3 pull requests:
Update third_party/grpc
to include files from new version
Switch distdir_deps.bzl
, WORKSPACE
, and any other references to new version
Remove older version from third_party/grpc
third_party/grpc/BUILD
to redirect targets to @com_github_grpc_grpc
if necessary.distdir_deps.bzl
file.git clone http://github.com/grpc/grpc.git
in a convenient directorygit checkout v${GRPC_VERSION_NUM}
mkdir -p third_party/grpc/bazel
cp <gRPC git tree>/bazel/{BUILD,cc_grpc_library.bzl,generate_cc.bzl,protobuf.bzl} third_party/grpc/bazel
third_party/grpc/grpc
directory, apply local patches: patch -p4 < bazel_${GRPC_VERSION_NUM}.patch