Skip to content

Commit

Permalink
[grpc] Update grpc to 1.23.1 (microsoft#8438)
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefizso authored and Rastaban committed Oct 3, 2019
1 parent 02dd1cc commit cd8f320
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions ports/grpc/00001-fix-uwp.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8ba68c4a13..258a1609f6 100644
index 48a0261825..2ba7077c4b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -90,6 +90,9 @@ if(UNIX)
@@ -92,6 +92,9 @@ if(UNIX)
endif()
if(WIN32)
set(_gRPC_PLATFORM_WINDOWS ON)
Expand All @@ -12,7 +12,7 @@ index 8ba68c4a13..258a1609f6 100644
endif()

set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
@@ -107,6 +110,9 @@ if (MSVC)
@@ -109,6 +112,9 @@ if (MSVC)
add_definitions(/wd4267)
# TODO(jtattermusch): needed to build boringssl with VS2017, revisit later
add_definitions(/wd4987 /wd4774 /wd4819 /wd4996 /wd4619)
Expand All @@ -22,7 +22,7 @@ index 8ba68c4a13..258a1609f6 100644
endif()

if (gRPC_USE_PROTO_LITE)
@@ -177,6 +183,10 @@ file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR})
@@ -179,6 +185,10 @@ file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR})
# ``.proto`` files
#
function(protobuf_generate_grpc_cpp)
Expand All @@ -33,15 +33,15 @@ index 8ba68c4a13..258a1609f6 100644
if(NOT ARGN)
message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files")
return()
@@ -218,6 +228,7 @@ function(protobuf_generate_grpc_cpp)
@@ -220,6 +230,7 @@ function(protobuf_generate_grpc_cpp)
endforeach()
endfunction()

+if(NOT _gRPC_PLATFORM_UWP)
add_custom_target(plugins
DEPENDS
grpc_cpp_plugin
@@ -247,6 +258,8 @@ add_custom_target(tools_cxx
@@ -249,6 +260,8 @@ add_custom_target(tools_cxx
add_custom_target(tools
DEPENDS tools_c tools_cxx)

Expand All @@ -50,48 +50,48 @@ index 8ba68c4a13..258a1609f6 100644
if (gRPC_BUILD_TESTS)
add_custom_target(buildtests_c)
add_dependencies(buildtests_c algorithm_test)
@@ -4029,7 +4042,6 @@ foreach(_hdr
@@ -3532,7 +3545,6 @@ foreach(_hdr
DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
)
endforeach()
-endif (gRPC_BUILD_CODEGEN)

if (gRPC_BUILD_CODEGEN)

@@ -4040,6 +4052,7 @@ if (gRPC_INSTALL)
@@ -3543,6 +3555,7 @@ if (gRPC_INSTALL)
ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
)
endif()
+endif (gRPC_BUILD_CODEGEN)

endif (gRPC_BUILD_CODEGEN)
if (gRPC_BUILD_TESTS)
@@ -4163,7 +4176,7 @@ foreach(_hdr
@@ -3666,7 +3679,6 @@ foreach(_hdr
DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
)
endforeach()
-endif (gRPC_BUILD_CODEGEN)
+

if (gRPC_BUILD_CODEGEN)

@@ -4174,6 +4187,7 @@ if (gRPC_INSTALL)
@@ -3677,6 +3689,7 @@ if (gRPC_INSTALL)
ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
)
endif()
+endif (gRPC_BUILD_CODEGEN)

endif (gRPC_BUILD_CODEGEN)
if (gRPC_BUILD_TESTS)
@@ -5196,7 +5210,6 @@ foreach(_hdr
@@ -4729,7 +4742,7 @@ foreach(_hdr
DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}"
)
endforeach()
-endif (gRPC_BUILD_CODEGEN)
+

if (gRPC_BUILD_CODEGEN)

@@ -5207,6 +5220,7 @@ if (gRPC_INSTALL)
@@ -4740,6 +4753,7 @@ if (gRPC_INSTALL)
ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
)
endif()
Expand Down
2 changes: 1 addition & 1 deletion ports/grpc/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: grpc
Version: 1.23.0
Version: 1.23.1
Build-Depends: zlib, openssl, protobuf, c-ares (!uwp)
Homepage: https://github.com/grpc/grpc
Description: An RPC library and framework
4 changes: 2 additions & 2 deletions ports/grpc/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO grpc/grpc
REF v1.23.0
SHA512 4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
REF v1.23.1
SHA512 c39a07554645402c36cb79eddfda7165dc26ce5f7f09cae7ee6f7bedcc2aca8873117ea401d40ce2e3246e3e5888bcce12d4746cba7ed75068ff145046754981
HEAD_REF master
PATCHES
00001-fix-uwp.patch
Expand Down

0 comments on commit cd8f320

Please sign in to comment.