From 7b7f62820de1814976456de86b137ab1db6d8626 Mon Sep 17 00:00:00 2001 From: XuanYang-cn <51370125+XuanYang-cn@users.noreply.github.com> Date: Wed, 19 Aug 2020 16:26:31 +0800 Subject: [PATCH] reduce grpc download file size from 380M to 130M (#3326) * reduce grpc download file size from 380M to 130M Signed-off-by: yangxuan * fix bug Signed-off-by: yangxuan Co-authored-by: yangxuan --- core/thirdparty/grpc/CMakeLists.txt | 5 +++-- core/thirdparty/versions.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/thirdparty/grpc/CMakeLists.txt b/core/thirdparty/grpc/CMakeLists.txt index 43b5051615..015f0ac0d0 100644 --- a/core/thirdparty/grpc/CMakeLists.txt +++ b/core/thirdparty/grpc/CMakeLists.txt @@ -15,14 +15,15 @@ if ( DEFINED ENV{MILVUS_GRPC_URL} ) set( GRPC_SOURCE_URL "$ENV{MILVUS_GRPC_URL}" ) else() set( GRPC_SOURCE_URL - "https://github.com/milvus-io/grpc-milvus/archive/${GRPC_VERSION}.zip" ) + "https://github.com/milvus-io/grpc-milvus/archive/${GRPC_VERSION}.zip" + ) endif() message( STATUS "Building GRPC-${GRPC_VERSION} from source" ) FetchContent_Declare( grpc URL ${GRPC_SOURCE_URL} - URL_MD5 "478215c151a144c2d8625b49ff1b70aa" + URL_MD5 "f11a28bebdc14e7790dab64743a96836" DOWNLOAD_DIR ${MILVUS_BINARY_DIR}/3rdparty_download/download SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/grpc-src BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/grpc-build ) diff --git a/core/thirdparty/versions.txt b/core/thirdparty/versions.txt index 0558a7cdb4..b3aaed613f 100644 --- a/core/thirdparty/versions.txt +++ b/core/thirdparty/versions.txt @@ -6,7 +6,7 @@ SQLITE_VERSION=3280000 YAMLCPP_VERSION=0.6.3 LIBUNWIND_VERSION=1.3.1 GPERFTOOLS_VERSION=2.7 -GRPC_VERSION=4b1c02a7edd03a2fec7dec48f37186306c456378 +GRPC_VERSION=9a62f6e05d0be96df674d60a66f330a085ced095 ZLIB_VERSION=v1.2.11 OPENTRACING_VERSION=v1.5.1 FIU_VERSION=1.00