From: Ross Burton Date: Tue, 13 Dec 2022 16:14:07 +0000 (+0000) Subject: meson: no need to rebuild on install X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2286 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da7e8bbb75bfb1a1c820b310196e510c05fc67c7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git meson: no need to rebuild on install On install, Meson will rebuild targets which don't define their dependencies, as it can't know if they need to be rebuilt or not. This includes gtk-doc, which can be slow to run. As we control the execution of meson we know that a rebuild isn't required, so we can pass --no-rebuild and speed up the install task. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/meson.bbclass b/meta/classes-recipe/meson.bbclass index 1014bd058ea..3cc94c7584f 100644 --- a/meta/classes-recipe/meson.bbclass +++ b/meta/classes-recipe/meson.bbclass @@ -173,7 +173,7 @@ meson_do_compile() { } meson_do_install() { - meson install --destdir ${D} + meson install --destdir ${D} --no-rebuild } EXPORT_FUNCTIONS do_configure do_compile do_install