Ubuntu 18.04 编译 liburing
First, you have to clone the repo:
git clone https://github.com/axboe/liburing.git
Then you can build:
make -C ./liburing
After that, you can compile your program.c with liburing:
gcc program.c -o ./program -I./liburing/src/include/ -L./liburing/src/ -Wall -O2 -D_GNU_SOURCE -luring
内容来自:c++ - how to build liburing - Stack Overflow

浙公网安备 33010602011771号