From 6fcec10a9cf6129ebd74a638bfd883e6330cb10f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 13 Dec 2022 16:14:07 +0000 Subject: 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. (From OE-Core rev: da7e8bbb75bfb1a1c820b310196e510c05fc67c7) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes-recipe/meson.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/classes-recipe/meson.bbclass b/meta/classes-recipe/meson.bbclass index 1014bd058e..3cc94c7584 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 -- cgit v1.2.3-54-g00ecf