[gnome-builder] meson: check for ninja before ninja-build
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] meson: check for ninja before ninja-build
- Date: Fri, 30 Mar 2018 23:17:52 +0000 (UTC)
commit d15a6506883749e29cffca65e0f5ec949b7bde43
Author: Christian Hergert <chergert redhat com>
Date: Fri Mar 30 16:17:28 2018 -0700
meson: check for ninja before ninja-build
Pretty much everywhere we care about ninja is the default now, so we can
check that first and avoid some cache misses.
src/plugins/meson/gbp-meson-pipeline-addin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/meson/gbp-meson-pipeline-addin.c b/src/plugins/meson/gbp-meson-pipeline-addin.c
index ba319c7e6..965ec7f9e 100644
--- a/src/plugins/meson/gbp-meson-pipeline-addin.c
+++ b/src/plugins/meson/gbp-meson-pipeline-addin.c
@@ -28,7 +28,7 @@ struct _GbpMesonPipelineAddin
IdeObject parent_instance;
};
-static const gchar *ninja_names[] = { "ninja-build", "ninja" };
+static const gchar *ninja_names[] = { "ninja", "ninja-build" };
static void
on_stage_query (IdeBuildStage *stage,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]