From 0324e8b610f3498501d5188b8baa640b93c5350c Mon Sep 17 00:00:00 2001 From: Lorenzo Fontana Date: Tue, 18 Aug 2020 11:31:24 +0200 Subject: [PATCH] build: update gRPC to 0.27.0 This change was needed because gRPC was using some internal classes to do vector operations in 0.25.0 Those operations were leading to sigsegv under certain operating systems, like Ubuntu 18.04 In 0.27.0 they swapped their internal libraries with abseil-cpp. I tested this and our gRPC server works very well with this new version as well the CRI api. I didn't go to 0.31.0 yet because it's very different now and it will require more iterations to get there, specifically on the CRI api code. Signed-off-by: Lorenzo Fontana --- cmake/modules/gRPC.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/gRPC.cmake b/cmake/modules/gRPC.cmake index e863710c..251ec9d7 100644 --- a/cmake/modules/gRPC.cmake +++ b/cmake/modules/gRPC.cmake @@ -110,8 +110,8 @@ else() grpc DEPENDS openssl GIT_REPOSITORY https://github.com/grpc/grpc.git - GIT_TAG v1.25.0 - GIT_SUBMODULES "third_party/protobuf third_party/zlib third_party/cares/cares" + GIT_TAG v1.27.0 + GIT_SUBMODULES "third_party/protobuf third_party/zlib third_party/cares/cares third_party/abseil-cpp" BUILD_IN_SOURCE 1 BUILD_BYPRODUCTS ${GRPC_LIB} ${GRPCPP_LIB} INSTALL_COMMAND ""