summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2018-05-04 08:18:17 -0700
committerDane Springmeyer <dane@mapbox.com>2018-05-04 08:18:17 -0700
commit1f8b99db1c9779dec596c418d17bbc89a71add09 (patch)
tree8664c3947511c467aa552338d6ccafad9e648c38
parente423ef5609cd738c07180d11744d4a45ffb3f82f (diff)
downloadqtlocation-mapboxgl-upstream/ninja-load-limit.tar.gz
ask ninja to limit concurrency if load avg is above 2upstream/ninja-load-limit
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 576312cabf..e50bf9b892 100644
--- a/Makefile
+++ b/Makefile
@@ -43,10 +43,10 @@ endif
ifeq ($(V), 1)
export XCPRETTY
- NINJA_ARGS ?= -v
+ NINJA_ARGS ?= -v -l 2
else
export XCPRETTY ?= | tee '$(shell pwd)/build/xcodebuild-$(shell date +"%Y-%m-%d_%H%M%S").log' | xcpretty
- NINJA_ARGS ?=
+ NINJA_ARGS ?= -l 2
endif
.PHONY: default