-
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
[sdbusplus] add new port #33937
base: master
Are you sure you want to change the base?
[sdbusplus] add new port #33937
Conversation
Updating meson is blocked by the tool RFC PR. Furthermore updating meson is no simple task since it requires changes to |
@Neumann-A , should I try to patch the current version instead? Edit: Removed meson update and made small hacks to use the old version of meson. |
236a1ad
to
a602721
Compare
Pipeline is failing https://dev.azure.com/vcpkg/public/_build/results?buildId=94519&view=logs&j=f79cfdd7-47a8-597f-8f57-dc3e21a8f2ad&t=da63cf11-1f12-503b-6d64-3b2fb713c172&l=2682 Should be resolved after merge of this PR: #33999 Edit: resolved |
@FrankXie05 can you review this PR? |
ports/sdbusplus/portfile.cmake
Outdated
# Hack to work with old meson version | ||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/meson_options.txt" DESTINATION "${SOURCE_PATH}") |
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.
AFAICS that's already part of disable-boost-definitions.patch
.
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.
Can you please clarify what you mean?
disable-boost-definitions.patch
is editing meson.build
to prevent the code from building the library with its specified boost asio definitions, if it is built with those definitions and the consumer of the library does not specify those same definitions it will end in indexing nullptr errors within boost asio, really hard to track errors.
what the following part is resolving, is using meson version below v1.0 since vcpkg uses v0.6 which does not support the newly named option file meson.options
:
# Hack to work with old meson version
file(COPY "${CMAKE_CURRENT_LIST_DIR}/meson_options.txt" DESTINATION "${SOURCE_PATH}")
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.
I see now, one file is meson.options
and the other one is meson.options.txt
.
And we can't COPY_FILE
the original file?
vcpkg uses v0.6
#28084 still suck 😞
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.
Simplified with COPY_FILE
as suggested. Thanks!
@FrankXie05 is there any progress with the reviewing of this PR? |
a525447
to
6c3daa5
Compare
74292b1
to
7ff47cf
Compare
Date-Version updated, @FrankXie05 @autoantwort are there any blockers for reviewing the PR. We are ready to make changes and work with you to get this merged. |
All features and usage have been tested successfully on |
|
After looking into this more closely this feature was added in order to compile the library under libc++ because stop_token is not implemented. I have created a PR for upstream to try and solve that problem in the right place. Lets hold out and see how that pans out. I can also remove this feature and we can merge now. I would then just publish an update when/if the library compiles under libc++ |
Giving upstream until March 29 to respond |
find_package
calls are REQUIRED, are satisfied byvcpkg.json
's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxxvcpkg.json
matches what upstream says.vcpkg.json
matches what upstream says../vcpkg x-add-version --all
and committing the result.Added meson option
async
, to turn off internal impl of event loop, to useboost::asio
only. It is both beneficial to reduce compile time of the port (if it is not needed don't compile it). Secondly,libc++
still does not implement internals ofasync
.Hacks to work with old version of meson where added.