-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[zeroc-ice] Revise features and build; Wrap FindIce.cmake #33648
base: master
Are you sure you want to change the base?
Conversation
ports/zeroc-ice/vcpkg.json
Outdated
"maintainers": "Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>", | ||
"description": "Comprehensive RPC framework with support for C++, CSharp, Java, JavaScript, Python and more.", | ||
"homepage": "https://github.com/zeroc-ice/ice", | ||
"license": null, | ||
"supports": "!uwp & !(windows & arm) & !wasm32", | ||
"supports": "!android & !uwp & !(windows & arm) & !wasm32", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Port |
This reverts commit 263803a.
TBH I would prefer a radical simplification of the feature interface, e.g. C++98 API libs are needed for almost all tools. That's why it makes sense to have them in |
Waiting for #33967 to be merged first, unblocking arm windows CI. |
Waiting for #34085 to fix baseline regression. |
This is really a 'what do users of this thing' expect question. Tagging folks who have contributed to this port before. |
Everything @dg0yt proposed makes sense. 👍 |
@dg0yt First of all sorry for not answering earlier, the GitHub notification must have slipped by me, cause of the flood of notifications ^^ @bold84 thanks for tagging;) Do I understand correctly that you mean that the c++98 libs are always built and installed, whereas the c++11 bindings and slice2cppare optional features(meaning if I select it, all libraries will be built using c++11?) If so that would be completely fine by me. To be honest I changed the project I'm working on to use the c++11 bindings just because zeroc-ice vcpkg only provided those. I'm not even sure if the maintainers would be comfortable with such a big change^^ Thank you again @dg0yt for all your work it's creatly appreciated |
slip2cpp should always be built ( Upstream provide a complete SDK, so this is what I would expect from the default installation.
IMO this is a kind of change which the default installation of a vcpkg port shouldn't require. |
I will go ahead with the proposed change to the feature interface, so that we can see the impact on what must be maintained in vcpkg. |
Are you saying you want to make changes or that you intend to do those in a subsequent PR? |
I want to make the changes first. |
May I know what the current state of this draft is and whether there is something I could help with? |
I hope I can move this to ready-to-review again soon. |
Hey @dg0yt, Edit: should I perhaps look why the windows build fail? |
zeroc-ice
(Note: some C++98 libs were already built in the past because they are used by tools.)
(Deprecated feature names should be remove with a future update.)
vcpkg_configure_make
/vcpkg_install_make
pattern for non-windows builds, reduce patching.slice2cpp
.FindIce.cmake
, fixes [zeroc-ice] x64-windows-static-md library not found #33589.(Tested in CI for
COMPONENTS Ice Ice++11
).Tested with
vcpkg test-features --triplet x64-linux-dynamic zeroc-ice
(microsoft/vcpkg-tool#802).(zeroc-ice-)mcpp
cmake-user (CI test port)