meson: no need to rebuild on install
PATCH 1/1 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 <[email protected]>
--- meta/classes-recipe/meson.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes-recipe/meson.bbclass +1 -1
@@ -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
Signature · 1 line
2.34.1