From 37330a01c4e1ac4d379bb81cc349df34aaf306cf Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Tue, 12 Dec 2023 11:10:06 -0800 Subject: [PATCH] Upgrade protobuf to 24.4 (#139) -std=c++14 is required by absl to increase the c++ version on multiple supported platforms. --- .bazelrc | 1 + WORKSPACE | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .bazelrc diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 00000000..554440cf --- /dev/null +++ b/.bazelrc @@ -0,0 +1 @@ +build --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 diff --git a/WORKSPACE b/WORKSPACE index 7afb0d7d..79fd85a2 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -19,9 +19,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "com_google_protobuf", - sha256 = "33cba8b89be6c81b1461f1c438424f7a1aa4e31998dbe9ed6f8319583daac8c7", - strip_prefix = "protobuf-3.10.0", - urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.10.0.zip"], + sha256 = "616bb3536ac1fff3fb1a141450fa28b875e985712170ea7f1bfe5e5fc41e2cd8", + strip_prefix = "protobuf-24.4", + urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v24.4/protobuf-24.4.tar.gz"], ) load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")