On Sat, 22 Nov 2025 16:55:05 -0800 David Wei wrote:
> > +# Check if io_uring supports zero-copy receive
> > +HAS_IOURING_ZCRX := $(shell \
> > +   echo -e '#include <liburing.h>\n' \
> > +        'void *func = (void *)io_uring_register_ifq;\n' \
> > +        'int main() {return 0;}' | \
> > +   $(CC) -luring -x c - -o /dev/null 2>&1 && echo y)
> > +
> > +ifeq ($(HAS_IOURING_ZCRX),y)
> > +COND_GEN_FILES += iou-zcrx
> > +else
> > +$(warning excluding iouring tests, liburing not installed or too old)  
> 
> Would you want to mention the min ver needed (2.10)?

I think people would update to latest upstream if they update?
I suspect we'll have to update this check if new dependencies
come up, the version will become stale..

Reply via email to