-
Notifications
You must be signed in to change notification settings - Fork 216
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
add liburing-2.0 wrap #127
Conversation
663c655
to
973b87d
Compare
@xclaesse the CI should NOT pass here, because releases.json never got updated. I think maybe this is because comparing tags to releases.json doesn't actually check when new wraps are added without the latter? |
ping? |
Upstream has not answered my question yet. I would merge it as it is using 0.7 as project version and 2.0 as the library |
Which version number do they end up writing in the .pc file? I could not immediately tell all their configure code is custom and handwritten. |
Using the liburing-2.0 git tag they will write 0.7 into the pkgconfig file which is wrong and was fixed by 1815337f7dbb. |
bf0dfdb
to
7964f17
Compare
7964f17
to
72f5ac7
Compare
Needs to be rebased on master, sorry. :D |
dfca1c0
to
e2bcbd9
Compare
No problem ;) |
I expect the CI to still fail because the C++ code included in the meson.build file to check certain compiler features include tabs. |
e2bcbd9
to
608b337
Compare
I have removed the tabs from the C code strings. |
The alternative might involve adding an AST parser, so yeah, that's a lot easier no matter how meh the error is in this highly specific case. |
608b337
to
cacc574
Compare
Seems like I missed some tabs. Sorry for all those incremental fixes and force pushes |
And as I've merged another PR ahead of yours, releases.json is clashing again... sorry to make you rebase yet again. :D EDIT: I'll take responsibility for that rebase. |
cacc574
to
5dd3c2d
Compare
subprojects/packagefiles/liburing/src/include/liburing/compat.h.in seems unfortunate, actually pretty curious why upstream doesn't use a template with a simple sed to replace e.g. |
The "typical" way of doing these is that instead of an |
Upstream has no template file they generate the header directly in their custom configure script. |
That is the current scheme, yes. Changing that should make this pass CI. |
The meson build files for liburing-2.0 are taken from https://github.com/fischerling/liburing/tree/2.0-meson and are based upon axboe/liburing#297
5dd3c2d
to
59ff5d4
Compare
Done :) |
The meson build files for liburing-2.0 are taken from https://github.com/fischerling/liburing/tree/2.0-meson
and are based upon axboe/liburing#297.
I tested the wrap using the method described in the README and meson version 0.59:
Closes #126 .