-
Notifications
You must be signed in to change notification settings - Fork 326
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
CMake scripts cleanups #680
Changes from all commits
826e451
70c4e0e
adf33f2
57db981
e8b3574
9c87375
ff96fc8
c31cc2f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,9 +17,9 @@ | |
#cmakedefine01 WITH_NETWORK_EVENTFD | ||
#cmakedefine01 WITH_IIOD_USBD | ||
#cmakedefine01 WITH_LOCAL_CONFIG | ||
#cmakedefine01 WITH_AIO | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just a comment which has noting to do with this... We should definitely consider about replacing aio for io_uring and liburing for libiio2 😄 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I will definitely have a look at io_uring. I want to see if it can help us with zero-copy. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It has both ring buffers shared between kernel and userspace so that's something already in the right way... Another neat thing is that we can potential reduce a lot the number of syscalls. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But I assume the IIO subsystem needs to support it (does it?). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't think so. At least for normal reads/writes on sysfs stuff. Now for ioctl (not sure if that stuff was merged; and yes, it seems io_uring is also allowing to re-implement ioctl), the last time I checked I think IIO would have to support it... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://lwn.net/Articles/844875/ - not idea the outcome of the RFC |
||
#cmakedefine01 HAVE_DNS_SD | ||
#cmakedefine01 HAVE_AVAHI | ||
#cmakedefine01 ENABLE_AIO | ||
#cmakedefine01 WITH_ZSTD | ||
|
||
#cmakedefine HAS_PIPE2 | ||
|
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.
Hmm, you can disregard my previous comment 👍