[gnome-build-meta/gnome-3-32] project.conf: let ninja decide by itself how many jobs to run



commit 909cdd1aeef3f41531264dfed13f07d6b808dc64
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Sat Mar 23 15:17:23 2019 +0100

    project.conf: let ninja decide by itself how many jobs to run

 project.conf | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/project.conf b/project.conf
index e526855c..c9de9834 100644
--- a/project.conf
+++ b/project.conf
@@ -133,6 +133,8 @@ elements:
     variables:
       cmake-global: -DCMAKE_BUILD_TYPE=RelWithDebInfo
       generator: Ninja
+    environment:
+      JOBS: ''
   distutils:
     variables:
       prefix: /usr/local
@@ -147,6 +149,9 @@ elements:
   meson:
     variables:
       meson-global: --buildtype=debugoptimized --auto-features=enabled
+      ninja: ninja ${JOBS} -C %{build-dir}
+    environment-nocache:
+    - JOBS
 
 sources:
   git:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]