diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-01-27 23:09:19 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-01-27 23:09:19 +0900 |
commit | cf6fa7ee7ed9bbc97669427a547d3cb06fd50b0f (patch) | |
tree | faeba37bc60153715cf11b994a848645d959122b /buildstream/data | |
parent | 7fbac9a462111e04af7c15176c24f84669313039 (diff) | |
download | buildstream-cf6fa7ee7ed9bbc97669427a547d3cb06fd50b0f.tar.gz |
project.py & builtin config: Load environment-nocache and added max-jobs variable
The builtins and project config may specify nocache environment vars too.
The max-jobs variable (not environment variable) can be used by elements
which can support it to control how many tasks to run in parallel within
a single build job.
Diffstat (limited to 'buildstream/data')
-rw-r--r-- | buildstream/data/projectconfig.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/buildstream/data/projectconfig.yaml b/buildstream/data/projectconfig.yaml index 8452ad508..6f7831b12 100644 --- a/buildstream/data/projectconfig.yaml +++ b/buildstream/data/projectconfig.yaml @@ -40,6 +40,14 @@ # variables: + # Maximum number of parallel build processes within a given + # build, support for this is conditional on the element type + # and the build system used (any element using 'make' can + # implement this). + # + # Note: this value defaults to the number of cores available + max-jobs: 4 + # Path configuration, to be used in build instructions. # prefix: "/usr" @@ -91,6 +99,13 @@ environment: HOME: /tmp TZ: UTC +# List of environment variables which should not be taken into +# account when calculating a cache key for a given element. +# +# E.g. +# +environment-nocache: [] + # Specify devices which should be available in the sandbox devices: |