Commit Graph

14 Commits

Author SHA1 Message Date
Dennis
561d171d79
[grpc/protobuf] Update grpc to 1.60.0 and update protobuf to 3.25.1 (#35781)
Resolves https://github.com/microsoft/vcpkg/issues/35566

This pr includes https://github.com/microsoft/vcpkg/pull/31159 and
https://github.com/microsoft/vcpkg/pull/35399

Ports changed in this pr:

Most of these changes stem from the fact that protobuf now depends on
abseil and requires c++14 while ports consume protobuf using
`target_link_libraries(lib ${Protobuf_LIBRARIES})` instead of
`target_link_libraries(lib PUBLIC protobuf::libprotobuf)`.

* **abseil** Updated to 03/04/2024 to address MSVC build issue in
openvino
* **arcus** Updated to 4.13.2
* **braft** Patched to use `find_package(Protobuf` instead of custom
FindProtobuf module. also link with `PUBLIC protobuf::libprotobuf)`.
* **brpc** Patch several `target_link_library` calls to include `PUBLIC`
instead of nothing. Patch some warnings that are treated as errors by
some OSX compiler. Patch usage of changed protobuf features most
importantly removal of `SetLogHandler`, tbd whether this patch is
acceptable with upstream.
* **cld3** Use CONFIG to find protobuf to propagate dependent abseil
libs and cxx14 correctly.
* **ecal** Use CONFIG to find protobuf. Use PUBLIC when linking it.
* **gamenetworkingsockets** Add `-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=on`
for protobuf.
* **gz-transport12** Update to fix usage of removed protobuf features.
* **ignition-msgs1/5/6** Remove protobuf version check which is confused
by the duplicate versioning scheme (v25.1 vs. 3.25.1 vs 4.x). Why are we
even maintaining this no longer maintained major version of this port? I
would welcome a more strict policy on removing ports/adding them to
ci.baseline.txt
* **ignition-transport4/8/9** Same as above + cherry-pick a protobuf
deprecation patch.
* **libprotobuf-mutator** Cherry-pick two commits to address altered
protobuf functionality. Add CONFIG and PUBLIC to protobuf handling in
CMake.
* **marble** Explicitly set protobuf to not found since it is not part
of the vcpkg.json but is made available transitively but another
dependency.
* **mysql-connector-cpp** Several CMake changes and removal of
protobuf::SetLogHandler patch.
* **openvino** Find protobuf using CONFIG
* **osgearth** Link libraries using PUBLIC and link with
protobuf::libprotobuf instead of Protobuf_LIBRARIES
* **paraview** Find protobuf using CONFIG and remove version check
* **pulsar-client-cpp** Add protobuf linkage to PULSAR_OBJECT_LIB.
Simplify protoc patch. Remove -Werror.
* **shogun** Update and patch as much as possible. Users are required to
override bitsery version to 4.x to use shogun since it does not support
5.x provided by vcpkg. Therefore add shogun to ci.baseline.txt.
* **srpc** Update and fix static crt linkage. Patch protobuf linkage and
remove hardcoded `-std=c++11` flag. Protobuf requires c++14 and CMake
does not recognize the hardcoded c++11 flag and will therefore not add a
c++14 flag when the compiler uses c++14 by default.
* **upb** Update to align version with protobuf/grpc and use new github
repo. Patch usual CMake mess (they do not support CMake officially)
which should probably be `unofficial-upbConfig.cmake` but I didn't dig
into downstream implications so I kept it at `upbConfig.cmake` as
before.
* **utf8-range** Update to allign version with protobuf.
2024-06-21 13:39:50 -07:00
Dennis
824c432473
[grpc] Update to 1.48.0 (#25914)
* grpc: Update to 1.48.0

* grpc: Adjust line-ending of patches

* grpc: Change line ending of some patches back to CRLF
2022-07-22 10:58:10 -07:00
Frank
470620d23a
[grpc] update to 1.44.0 (#23591)
* [grpc] update to 1.44.0

* update version

* update patch EOL

* overwrite version

* update patch

* update version

* fix uwp-build

* overwrite version
2022-03-21 13:18:01 -07:00
Jozef Izso
79e72302cd
[grpc] Update to v1.33.1 (#14187) 2020-10-27 20:33:33 -07:00
Jozef Izso
ba2e63548f
[grpc] Update to v1.32.0 - use correct port version (#14152)
* [grpc] grpc v1.32.0 - use correct port version

* [grpc] update 00001-fix-uwp.patch

* [grpc] update 00002-static-linking-in-linux.patch

* [grpc] update 00004-link-gdi32-on-windows.patch

* [grpc] update 00011-fix-csharp_plugin.patch
2020-10-22 22:46:48 -07:00
Jozef Izso
3283dd7fb7
[grpc][upb][re2] grpc v1.31.1 (#13084) 2020-08-22 22:25:20 -07:00
Jozef Izso
78b66ad5b9
[grpc] grpc v1.30.2 (#12920) 2020-08-22 01:16:03 -07:00
Jack·Boos·Yu
c75f0b32a6
[grpc] Update to 1.29.1 (#11791)
* [grpc] Update to 1.29.1

* re-fix uwp build

* re-fix dependency upb

* [offscale-libetcd-cpp] Fix dependency grpc
2020-06-23 14:36:26 -07:00
ymshenyu
acdbfaec17
[gRPC] Update to 1.27.1 (#9963)
* gRPC 1.27.0

* trigger build

* update to v1.27.1

* update control file
2020-02-11 16:33:48 -08:00
Carlos O'Ryan
ebe505081b [grpc] Upgrade to gRPC-1.26.0 (#9363)
* WIP - Upgrade gRPC to 1.26.0

* Updated patch 00001

* Update 00002 patch.

* Update 00003

* Update 00005

* Remove 00007 patch.

* Really fix patch 00005

* Use CRLF for patches as before 🤷
2020-01-06 12:24:51 -08:00
Jozef Izso
e510f8708e [grpc] Update grpc to 1.24.3 (#9135)
* [grpc] Update grpc to 1.24.0

* [grpc] Update grpc to 1.24.3

* Disable error C4146 on uwp

C4146: unary minus operator applied to unsigned type, result still unsigned
2020-01-02 14:10:18 -08:00
Jozef Izso
cd8f320b8d [grpc] Update grpc to 1.23.1 (#8438) 2019-10-03 09:41:24 -07:00
Darrin W. Cullop
2fda34be1f [grpc] #6485 - Fix ARM/ARM64 on Windows Build (#6487)
This PR includes the following changes that are required to get gRPC to build for ARM/ARM64 on Windows
1) Updated to v1.20.1
2) Disables Codegen Build for ARM/ARM64 builds
3) Rebased the "Fix UWP" patch so that it will apply properly
4) Fixed the "Static Linking in Linux" patch because it specified an invalid option on Windows builds
5) Added patch to "#undef" a macro name collision
6) Added GDI32.lib to the list of standard libraries linked to Windows
2019-05-17 11:18:26 -07:00
Hongxu Xu
23ae7eb168 [grpc] Supported static linking in Linux 2019-04-19 17:27:19 +08:00