[PATCH liburing] add additional meson build system support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series add an additional build system to liburing based
on the initial meson code proposed by Peter Eszlari <peter.eszlari@xxxxxxxxx>.
Since the initial proposal [1] in Februar 2021 I took up the meson code and
improved, maintained and made it available in the meson wrapdb [2].

Meson is a modern, fast and simple build system. Adoption started mainly in the
desktop space (Gnome, X11, Mesa) to replace autotools, but since then,
some low level projects (systemd, qemu) have switched to it too.

Using meson as build system has multiple advantages over the current custom
configure plus Makefile implementation:

* Out-of-source builds
* Seamlessly consumable by other projects using meson
* Meson generates the compile_commands.json database used i.e., by clangd
* Packagers can use a standardized and well known build system

 .github/workflows/build.yml      |  45 ++++++++-
 .gitignore                       |   2 +
 examples/meson.build             |  19 ++++
 man/meson.build                  | 116 ++++++++++++++++++++++
 meson.build                      | 119 ++++++++++++++++++++++
 meson_options.txt                |  14 +++
 src/include/liburing/compat.h.in |   7 ++
 src/include/liburing/meson.build |  51 ++++++++++
 src/include/meson.build          |   3 +
 src/meson.build                  |  28 ++++++
 test/meson.build                 | 219 +++++++++++++++++++++++++++++++++++++++++
 11 files changed, 619 insertions(+), 4 deletions(-)

The patch set requires at least meson version 0.53 satisfied by most distributions.

It has a working github bot integration equivalent to the current build system.

Myself and multiple other github users (Yury Zhuravlev @stalkberg, Tim-Philipp
Müller @tp-m) [3] proposed to maintain the meson code once included.
For support regarding the meson code I am available via email or the mailing list.

[1]: https://github.com/axboe/liburing/pull/297
[2]: https://github.com/mesonbuild/wrapdb/commit/b800267fa9b1e05b03faf968c6ce6a882b6a2494
[3]: https://github.com/axboe/liburing/pull/622

Link: https://github.com/axboe/liburing/pull/622
Signed-off-by: Florian Fischer <florian.fischer@muhq.space>
---

This patch series cleanly applies to the current liburing master (1842b2a)
and includes all tests, examples and manpages available up to 1842b2a.





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux