Skip to content

Commit

Permalink
chore(deps): update grpc and protobuf
Browse files Browse the repository at this point in the history
We need to update both of these at the same time.  I merged the
"Renovate Bot" PRs manually.

- update grpc to v1.55.0-pre1
- update protobuf to v23

Try with Protobuf v22.3

Fix Bazel configuration

Use gRPC now requires an extra flag for Protobuf

Normalize deps in generated libraries

Prefer using CONFIG for Protobuf.

New formatting for generator output

Also use CONFIG in `find_dependency(Protobuf)`

Try with Protobuf v22.4

Fix formatting

Avoid protobuf::util::TimeUtil::GetCurrentTime for Windows

We still need to support the FindProtobuf module when Protobuf is installed by the system

Fix alpine build and anything else using pre-installed Protobuf

Use find_dependency(Protobuf CONFIG) if that is how we built

Fix formatting

Use development branch for protobuf

Fix bazel path

Argh, Bazel path again

Workaround for Windows and GetCurrentTime() macro
  • Loading branch information
renovate-bot authored and coryan committed May 8, 2023
1 parent 3516b14 commit 8ceee02
Show file tree
Hide file tree
Showing 19 changed files with 80 additions and 57 deletions.
16 changes: 8 additions & 8 deletions bazel/google_cloud_cpp_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ def google_cloud_cpp_deps(name = None):
http_archive,
name = "com_google_protobuf",
urls = [
"https://storage.googleapis.com/cloud-cpp-community-archive/com_google_protobuf/v21.12.tar.gz",
"https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz",
"https://storage.googleapis.com/cloud-cpp-community-archive/com_google_protobuf/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz",
"https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz",
],
sha256 = "22fdaf641b31655d4b2297f9981fa5203b2866f8332d3c6333f6b0107bb320de",
strip_prefix = "protobuf-21.12",
sha256 = "cbcad61207dad6d54b40809fb3db0076901d1c8a1a6d8d1d3578862ba3117617",
strip_prefix = "protobuf-47cbb9592bc9bf8947907884139869c28afa9ffe",
)

# Load BoringSSL. This could be automatically loaded by gRPC. But as of
Expand All @@ -144,11 +144,11 @@ def google_cloud_cpp_deps(name = None):
http_archive,
name = "com_github_grpc_grpc",
urls = [
"https://storage.googleapis.com/cloud-cpp-community-archive/com_github_grpc_grpc/v1.54.0.tar.gz",
"https://github.com/grpc/grpc/archive/v1.54.0.tar.gz",
"https://storage.googleapis.com/cloud-cpp-community-archive/com_github_grpc_grpc/v1.55.0-pre1.tar.gz",
"https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz",
],
sha256 = "5e53505a6c84030a26c4fddd71b3f46feec8e0a8eccff2a903b189d349ca6ff5",
strip_prefix = "grpc-1.54.0",
sha256 = "936b2bfdc2824f3f6e2bd87572824ae7e7b44cd3f622eeed5c163d54274b9842",
strip_prefix = "grpc-1.55.0-pre1",
)

# We use the cc_proto_library() rule from @com_google_protobuf, which
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/centos-7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ RUN curl -sSL https://github.com/abseil/abseil-cpp/archive/20230125.3.tar.gz | \
ldconfig && cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -96,7 +96,7 @@ RUN curl -sSL https://github.com/c-ares/c-ares/archive/cares-1_14_0.tar.gz | \
ldconfig && cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -106,6 +106,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-centos-7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ RUN curl -sSL https://github.com/abseil/abseil-cpp/archive/20230125.3.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -152,7 +152,7 @@ RUN curl -sSL https://github.com/c-ares/c-ares/archive/cares-1_14_0.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -162,6 +162,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-debian-bullseye.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ RUN apt-get update && \

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -133,7 +133,7 @@ RUN curl -sSL https://github.com/google/re2/archive/2023-03-01.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -143,6 +143,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-debian-buster.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ RUN curl -sSL https://github.com/nlohmann/json/archive/v3.11.2.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -144,7 +144,7 @@ RUN curl -sSL https://github.com/google/re2/archive/2023-03-01.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -154,6 +154,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-opensuse-leap.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ RUN curl -sSL https://github.com/abseil/abseil-cpp/archive/20230125.3.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -110,7 +110,7 @@ RUN curl -sSL https://github.com/c-ares/c-ares/archive/cares-1_14_0.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -120,6 +120,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-rockylinux-8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ RUN curl -sSL https://github.com/abseil/abseil-cpp/archive/20230125.3.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -132,7 +132,7 @@ RUN curl -sSL https://github.com/google/re2/archive/2023-03-01.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -142,6 +142,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-rockylinux-9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ RUN curl -sSL https://github.com/abseil/abseil-cpp/archive/20230125.3.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -137,7 +137,7 @@ RUN curl -sSL https://github.com/google/re2/archive/2023-03-01.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=17 \
Expand All @@ -148,6 +148,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-ubuntu-bionic.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ RUN curl -sSL https://github.com/abseil/abseil-cpp/archive/20230125.3.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -100,7 +100,7 @@ RUN curl -sSL https://github.com/google/re2/archive/2023-03-01.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -110,6 +110,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-ubuntu-focal.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ RUN curl -sSL https://github.com/abseil/abseil-cpp/archive/20230125.3.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -103,7 +103,7 @@ RUN curl -sSL https://github.com/google/re2/archive/2023-03-01.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -113,6 +113,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-ubuntu-jammy.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ RUN curl -sSL https://github.com/abseil/abseil-cpp/archive/20230125.3.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -85,7 +85,7 @@ RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -95,6 +95,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/fedora-37-cmake.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ RUN curl -sSL https://github.com/nlohmann/json/archive/v3.11.2.tar.gz | \
ldconfig && cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -169,7 +169,7 @@ RUN curl -sSL https://github.com/google/re2/archive/2023-03-01.tar.gz | \

WORKDIR /var/tmp/build/grpc
RUN dnf makecache && dnf install -y c-ares-devel
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -179,6 +179,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/fedora-37-cxx14.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ RUN curl -sSL https://github.com/nlohmann/json/archive/v3.11.2.tar.gz | \
cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=14 \
Expand Down Expand Up @@ -159,7 +159,7 @@ RUN curl -sSL https://github.com/google/re2/archive/2023-03-01.tar.gz | \
ldconfig

WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=14 \
Expand All @@ -170,6 +170,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/fedora-37-cxx20.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ RUN curl -sSL https://github.com/nlohmann/json/archive/v3.11.2.tar.gz | \
cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=20 \
Expand Down Expand Up @@ -161,7 +161,7 @@ RUN curl -sSL https://github.com/google/re2/archive/2023-03-01.tar.gz | \
ldconfig

WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=20 \
Expand All @@ -172,6 +172,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
5 changes: 3 additions & 2 deletions ci/cloudbuild/dockerfiles/ubuntu-bionic-install.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ RUN curl -sSL https://github.com/nlohmann/json/archive/v3.11.2.tar.gz | \
cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/protobuf
RUN curl -sSL https://github.com/protocolbuffers/protobuf/archive/v21.12.tar.gz | \
RUN curl -sSL https://github.com/coryan/protobuf/archive/47cbb9592bc9bf8947907884139869c28afa9ffe.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -161,7 +161,7 @@ RUN curl -sSL https://github.com/google/re2/archive/2023-03-01.tar.gz | \
cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/grpc
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
RUN curl -sSL https://github.com/grpc/grpc/archive/v1.55.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -171,6 +171,7 @@ RUN curl -sSL https://github.com/grpc/grpc/archive/v1.54.0.tar.gz | \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
Expand Down
Loading

0 comments on commit 8ceee02

Please sign in to comment.