-
Notifications
You must be signed in to change notification settings - Fork 7.7k
[gRPC] update to v1.41.0 #20835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Billy O'Neal (BillyONeal)
merged 28 commits into
microsoft:master
from
JonLiu1993:dev/Jon/grpc
Nov 11, 2021
Merged
[gRPC] update to v1.41.0 #20835
Changes from 11 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
ef3b895
[gRPC] update to v1.41.0
JonLiu1993 e67cf72
update version
JonLiu1993 0c962ac
[upb] Update to 2021-10-19
9ee9747
Update pacth
17f09b6
[upb] Fix upstream bug
ef14ed3
Replace depreciate functions
38f629d
version
f13784b
fix code
4c72afa
version
8c31615
revert patch format
JonLiu1993 ea1ee84
update version
JonLiu1993 8a8bfd8
Fix review advise
JonLiu1993 c7e2caa
update version
JonLiu1993 7c55919
Remove extra spaces
JonLiu1993 13d9b5e
update version
JonLiu1993 e9f9f44
update version
JonLiu1993 f186a20
update version
JonLiu1993 aed0c9a
Remove space in patch file
0d7ce0c
change patch format from CRLF to CF
JonLiu1993 4649081
update version
JonLiu1993 00ce584
Merge branch 'master' of https://github.com/Microsoft/vcpkg into dev/…
JonLiu1993 3f0e9e9
Merge branch 'dev/Jon/grpc' of https://github.com/JonLiu1993/vcpkg in…
JonLiu1993 729dad8
revert patch format
JonLiu1993 67ad5fb
update version
JonLiu1993 bc54b4a
revert patch format
JonLiu1993 f70cecf
update version
JonLiu1993 35a08f6
Remove unnecessary additional
JonLiu1993 8659df0
update version
JonLiu1993 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,34 +1,34 @@ | ||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| index 24b619f..f7a11b9 100644 | ||
| index ae06ea3..8b64438 100644 | ||
| --- a/CMakeLists.txt | ||
| +++ b/CMakeLists.txt | ||
| @@ -2076,6 +2076,8 @@ target_link_libraries(grpc | ||
| @@ -2180,6 +2180,8 @@ target_link_libraries(grpc | ||
| ${_gRPC_UPB_LIBRARIES} | ||
| ${_gRPC_ALLTARGETS_LIBRARIES} | ||
| absl::flat_hash_map | ||
| + absl::time | ||
| + absl::synchronization | ||
| + absl::synchronization | ||
|
JonLiu1993 marked this conversation as resolved.
Outdated
|
||
| absl::inlined_vector | ||
| absl::bind_front | ||
| absl::statusor | ||
| @@ -2623,6 +2625,8 @@ target_link_libraries(grpc_unsecure | ||
| @@ -2733,6 +2735,8 @@ target_link_libraries(grpc_unsecure | ||
| ${_gRPC_UPB_LIBRARIES} | ||
| ${_gRPC_ALLTARGETS_LIBRARIES} | ||
| absl::flat_hash_map | ||
| absl::inlined_vector | ||
| + absl::time | ||
| + absl::synchronization | ||
| + absl::synchronization | ||
| absl::inlined_vector | ||
| absl::bind_front | ||
| absl::statusor | ||
| gpr | ||
| address_sorting | ||
| diff --git a/cmake/abseil-cpp.cmake b/cmake/abseil-cpp.cmake | ||
| index 078d495..b6f50bd 100644 | ||
| index c89ba26..68ae4fd 100644 | ||
| --- a/cmake/abseil-cpp.cmake | ||
| +++ b/cmake/abseil-cpp.cmake | ||
| @@ -37,4 +37,7 @@ elseif(gRPC_ABSL_PROVIDER STREQUAL "package") | ||
| # Use "CONFIG" as there is no built-in cmake module for absl. | ||
| @@ -35,3 +35,6 @@ elseif(gRPC_ABSL_PROVIDER STREQUAL "package") | ||
| find_package(absl REQUIRED CONFIG) | ||
| set(_gRPC_FIND_ABSL "if(NOT absl_FOUND)\n find_package(absl CONFIG)\nendif()") | ||
| endif() | ||
| set(_gRPC_FIND_ABSL "if(NOT TARGET absl::strings)\n find_package(absl CONFIG)\nendif()") | ||
| + if (gRPC_ABSL_SYNC_ENABLE) | ||
| + add_definitions(-DGPR_ABSEIL_SYNC=1) | ||
| + endif() | ||
| endif() | ||
| \ No newline at end of file | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,52 +1,25 @@ | ||
| diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt | ||
| index 0155a7b..7850b2d 100644 | ||
| index b4f43f9..c90968f 100644 | ||
| --- a/cmake/CMakeLists.txt | ||
| +++ b/cmake/CMakeLists.txt | ||
| @@ -66,7 +66,7 @@ endif() | ||
| enable_testing() | ||
|
|
||
| add_library(port INTERFACE) | ||
| -add_library(descriptor_upbproto INTERFACE) | ||
| +add_library(descriptor_upb_proto INTERFACE) | ||
| add_library(upb | ||
| ../upb/decode.c | ||
| ../upb/decode.int.h | ||
| @@ -167,6 +167,25 @@ target_link_libraries(upb_json | ||
| upb_pb) | ||
| add_library(wyhash INTERFACE) | ||
| @@ -137,4 +137,20 @@ add_library(table INTERFACE) | ||
| target_link_libraries(table INTERFACE | ||
| port) | ||
|
|
||
| +add_library(all_libs INTERFACE) | ||
| +target_link_libraries(all_libs | ||
| + INTERFACE | ||
| + upb | ||
| + fastdecode | ||
| + upb_json | ||
| + upb_pb | ||
| + utf8_range | ||
| + json | ||
| + port | ||
| + table | ||
| + descriptor_upb_proto | ||
| + handlers | ||
| + reflection | ||
| + textformat | ||
| +) | ||
| +set_target_properties(reflection PROPERTIES OUTPUT_NAME upb_reflection) | ||
| +set_target_properties(handlers PROPERTIES OUTPUT_NAME upb_handlers) | ||
| +set_target_properties(fastdecode PROPERTIES OUTPUT_NAME upb_fastdecode) | ||
| +set_target_properties(textformat PROPERTIES OUTPUT_NAME upb_textformat) | ||
| + | ||
| install( | ||
| DIRECTORY ../upb | ||
| DESTINATION include | ||
| @@ -184,9 +203,11 @@ install(TARGETS | ||
| upb_pb | ||
| port | ||
| table | ||
| - descriptor_upbproto | ||
| + descriptor_upb_proto | ||
| handlers | ||
| reflection | ||
| + textformat | ||
| + all_libs | ||
| EXPORT upb-config | ||
| ) | ||
| install(EXPORT upb-config NAMESPACE upb:: DESTINATION share/upb) | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt | ||
| index 6b4c50d..b4f43f9 100644 | ||
| --- a/cmake/CMakeLists.txt | ||
| +++ b/cmake/CMakeLists.txt | ||
| @@ -66,6 +66,10 @@ endif() | ||
| enable_testing() | ||
|
|
||
| add_library(port INTERFACE) | ||
| +add_library(descriptor_upb_proto INTERFACE) | ||
| +add_library(utf8_range | ||
| + ../third_party/utf8_range/utf8_range.c | ||
| + ../third_party/utf8_range/utf8_range.h) | ||
| add_library(upb | ||
| ../upb/decode.c | ||
| ../upb/decode_internal.h | ||
| @@ -84,7 +88,7 @@ add_library(upb | ||
| target_link_libraries(upb | ||
| fastdecode | ||
| port | ||
| - /third_party/utf8_range) | ||
| + utf8_range) | ||
| add_library(fastdecode | ||
| ../upb/decode.h | ||
| ../upb/decode_internal.h | ||
| @@ -96,7 +100,7 @@ add_library(fastdecode | ||
| target_link_libraries(fastdecode | ||
| port | ||
| table | ||
| - /third_party/utf8_range) | ||
| + utf8_range) | ||
| add_library(generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE) | ||
| target_link_libraries(generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE | ||
| table |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.