aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2022-06-24 10:19:20 +0200
committerSam James <sam@gentoo.org>2022-07-12 07:33:20 +0100
commit063fcaeaa05074a9d90acec2f68b25dfb8ecd279 (patch)
tree0e8963a74ae52de9b034f1f255f6873868d94f63 /meson_options.txt
parentseccomp: allow madvise() call (glibc 2.35+) (diff)
downloadpax-utils-063fcaeaa05074a9d90acec2f68b25dfb8ecd279.tar.gz
pax-utils-063fcaeaa05074a9d90acec2f68b25dfb8ecd279.tar.bz2
pax-utils-063fcaeaa05074a9d90acec2f68b25dfb8ecd279.zip
Convert build system to meson
Some notes about the new build systems: - I don't fully understand the testing system, but I think I understood it well enough to implement an equivalent one. - use_seccomp could be replaced by detecting seccomp support at runtime (without support, Linux returns -EINVAL in include/linux/seccomp.h) - The fuzzing test is broken and seems to have been for a while (see commit 67f3ba64c91b5e1ac9fbbd0bc039fb8ca653cae1, it fails to fuzz on my machine) - make-tarball.sh has been replaced with meson dist - hopefully this works. meson dist should also call seccomp-bpf.c to update seccomp-bpf.h Signed-off-by: Arsen Arsenović <arsen@aarsen.me> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 0000000..62adc35
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,9 @@
+option('lddtree_implementation', type : 'combo', choices : ['python', 'sh', 'none'], value : 'python')
+option('use_libcap', type : 'feature', value : 'auto')
+option('use_seccomp', type : 'boolean', value : 'true',
+ description : 'Enable seccomp filters at runtime (does *not* require libseccomp)'
+)
+option('build_manpages', type : 'feature', value : 'auto',
+ description : 'Build manuals via DocBook (requires xmlto)')
+option('tests', type : 'boolean', value : 'true')
+option('use_fuzzing', type : 'boolean', description : 'Also build LibFuzzer fuzzers', value : 'true')