Skip to content

Commit

Permalink
Update grpc port to release 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefizso authored and alexkaratarakis committed Nov 10, 2017
1 parent cd41cfe commit 2c4d1dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ports/grpc/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: grpc
Version: 1.6.0-2
Version: 1.7.0
Build-Depends: zlib, openssl, protobuf, c-ares
Description: An RPC library and framework
12 changes: 2 additions & 10 deletions ports/grpc/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,16 @@ endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO grpc/grpc
REF v1.6.0
SHA512 70a68fecca43cfe8c94206fd39ad8f86e055eb2185ae8c90040cc35928f1102016775c66e83c3cc76690e44598764b215d884a206f8466d45b00e2c54593e682
REF v1.7.0
SHA512 23427ac1f180ce6d70b039225f26cecbd938655d1e5b726414aee7dfee6e6f301913255cfe0ff326dfb34e206ca6476c389b2fd0db58b284fff30c9757c5e4ac
HEAD_REF master
)

# fix from PR https://github.com/grpc/grpc/pull/12411
vcpkg_download_distfile(CMAKE_ERROR_FIX_DIFF
URLS "https://github.com/grpc/grpc/commit/74c139a83987087f9e2d2e6b5d44c240d719061d.diff"
FILENAME "grpc-cmake-error-fix.diff"
SHA512 38cdff0e6db12276400cf4eec66aafdbfe34912a78a0604ced3b216d3a60e5b87464f9083fa5e5dfb4df1490ef10565cbe04d3f750f59c7e7e1a05334c0b528e
)

# Issue: https://github.com/grpc/grpc/issues/10759
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
PATCHES
${CMAKE_CURRENT_LIST_DIR}/disable-csharp-ext.patch
${CMAKE_ERROR_FIX_DIFF}
)

if(VCPKG_CRT_LINKAGE STREQUAL static)
Expand Down

0 comments on commit 2c4d1dc

Please sign in to comment.