]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
README: Add release/distro/end-user recommendation
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 1 Nov 2024 20:04:30 +0000 (15:04 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 7 Nov 2024 17:35:06 +0000 (11:35 -0600)
This may be useful for anyone trying a non-debug build and serve as
baseline for distros. Even for developers, when benchmarking kmod, it's
better to run a release-oriented kmod rather than the slow one due to
all debug/sanitizers.

By keeping the -D in the command line rather than in a ini file,
we also guarantee meson shows it in the summary, regardless of
https://github.com/mesonbuild/meson/issues/13865.

Closes: https://github.com/kmod-project/kmod/issues/220
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/221
README.md

index 995eb07744793f02dc50705a3dc8d16910d97e58..5169890a88a9add0b7bed8cc170393a73ef107e6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -52,6 +52,10 @@ Typical configuration and installation
     meson compile -C builddir/
     sudo meson install -C builddir/
 
+For end-user and distributions builds, it's recommended to use:
+
+    meson setup --buildtype release builddir/
+
 Alternatively you can try autotools build.
 NOTE: The autotools build is slated for removal with kmod v35