-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[yaml-cpp] Update to 0.8.0 #33223
[yaml-cpp] Update to 0.8.0 #33223
Conversation
Three ports are failing:
|
a2b0370
to
77f2213
Compare
The first issue from upgrading to 0.8.0 was broken CMake configs, The patch added in 7900bdf is a copy of what was submitted upstream in jbeder/yaml-cpp#1212. The remaining build failures come from a change in the CMake target name from |
77f2213
to
fdeedd0
Compare
The patches to fix the new target name were relatively trivial:
|
OpenColorIO and rtabmap have been notified and provided a patch. |
Please do not change the line breaks in the Moving the PR to draft. Please set it to "ready for review" once changes have been applied. |
fdeedd0
to
248e500
Compare
My apologies, vscode did not show the change of newline character in the diff. It should be fixed now. |
Thank you very much for your prompt response and for contributing to vcpkg. |
Hey, guys, thanks for working on this! Any forecasts when v0.8.0 will be merged? |
Looks like there are some merge conflicts with recent updates, I switched this PR to draft until I find time to resolve them. |
Can you finish this work please? @FtZPetruska |
- The config path has changed to `lib/cmake/yaml-cpp`. - pkg-config files are installed to `lib/pkgconfig`. - dll.h uses a new variable for control and should be patched outside of Windows.
The patch is a shortened version from: jbeder/yaml-cpp#1212 It fixes issues with downstream projects using the old target, and makes the CMake config more easily relocatable. The patch was rebased on the 0.8.0 release, and the CI and tests bits were omitted.
248e500
to
c8148c7
Compare
Usage test passed with x64-windows. |
This resulted in #35041 |
./vcpkg x-add-version --all
and committing the result.A few additional tweaks were made to the portfile, notably:
share
tolib
, so moving the pc files manually is no longer needed.YAML_CPP_DLL
is no longer used indll.h
, instead replaced withYAML_CPP_STATIC_DEFINE
. The inline patch was updated as such. Moreover, it was extended to non-Windows platforms as it also applies to them.