From: Lucas De Marchi Date: Fri, 1 Nov 2024 20:04:30 +0000 (-0500) Subject: README: Add release/distro/end-user recommendation X-Git-Tag: v34~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=250330e6f5fd912c26efe916622ef61990ddb6fc;p=thirdparty%2Fkmod.git README: Add release/distro/end-user recommendation 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 Reviewed-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/221 --- diff --git a/README.md b/README.md index 995eb077..5169890a 100644 --- 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