diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-01-27 23:13:23 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-01-27 23:13:23 +0900 |
commit | 8b6e9783167fe0deaa362e9b54f151f8c9f164ec (patch) | |
tree | 7ff28d82a38ff614ccbe0932098420a7a0f61cfc | |
parent | 2dd8b25d26a86a5498e5613a95d8c804d989beb4 (diff) | |
download | buildstream-8b6e9783167fe0deaa362e9b54f151f8c9f164ec.tar.gz |
cmake.yaml: Implement max-jobs with MAKEFLAGS
-rw-r--r-- | buildstream/plugins/elements/cmake.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/buildstream/plugins/elements/cmake.yaml b/buildstream/plugins/elements/cmake.yaml index 64174fb65..7d2a3f72e 100644 --- a/buildstream/plugins/elements/cmake.yaml +++ b/buildstream/plugins/elements/cmake.yaml @@ -34,3 +34,14 @@ config: strip-commands: - | %{strip-binaries} + +# Use max-jobs CPUs for building and enable verbosity +environment: + MAKEFLAGS: -j%{max-jobs} + V: 1 + +# And dont consider MAKEFLAGS or V as something which may +# effect build output. +environment-nocache: +- MAKEFLAGS +- V |