summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2019-02-19 15:38:52 +0100
committerMichal Klocek <michal.klocek@qt.io>2019-02-21 16:05:05 +0000
commit3e9cf092689dcd85bf5a5709eab6cbd2785b42b8 (patch)
tree1585dcb8515cf0de8c6d58d674520bffe649b212
parent5a6a8509a96ef6795102422e217d609815d2f086 (diff)
Add build time override of ninja jobs
Add sth like 'NINJAJOBS=-j20 make'. Helps to quickly investigate icecc issue without need to do qmake_all. Change-Id: I7438e9cd1a2b15bcbc1a4790bbc4d6596c5c7abd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--src/core/gn_run.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/gn_run.pro b/src/core/gn_run.pro
index 9860c454..0219a2be 100644
--- a/src/core/gn_run.pro
+++ b/src/core/gn_run.pro
@@ -49,7 +49,7 @@ build_pass|!debug_and_release {
ninjaflags = $$(NINJAFLAGS)
isEmpty(ninjaflags):!silent: ninjaflags = "-v"
- runninja.commands = $$NINJA $$ninjaflags -C $$gn_build_root QtWebEngineCore
+ runninja.commands = $$NINJA $$ninjaflags \$\(NINJAJOBS\) -C $$gn_build_root QtWebEngineCore
QMAKE_EXTRA_TARGETS += runninja
build_pass:build_all: default_target.target = all