diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-04-15 10:31:00 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-04-15 08:31:00 -0700 |
commit | bd1beedaf52617df6a6baac8ebfbb06de3cdc03d (patch) | |
tree | 42bf1692fb4fc7e931b6e0670e3056c945c1abdc /etc | |
parent | 62fb1ad990485ea7abe8d3e6f0d724746f4af770 (diff) | |
download | spack-bd1beedaf52617df6a6baac8ebfbb06de3cdc03d.tar.gz spack-bd1beedaf52617df6a6baac8ebfbb06de3cdc03d.tar.bz2 spack-bd1beedaf52617df6a6baac8ebfbb06de3cdc03d.tar.xz spack-bd1beedaf52617df6a6baac8ebfbb06de3cdc03d.zip |
Allow users to set parallel jobs in config.yaml (#3812)
* Allow users to set parallel jobs in config.yaml
* Undo change from endash to emdash
* Remove parallel config, rename jobs to build_jobs
Diffstat (limited to 'etc')
-rw-r--r-- | etc/spack/defaults/config.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml index 4e02d0973d..f29acfe018 100644 --- a/etc/spack/defaults/config.yaml +++ b/etc/spack/defaults/config.yaml @@ -66,3 +66,9 @@ config: # If set to true, `spack install` and friends will NOT clean # potentially harmful variables from the build environment. Use wisely. dirty: false + + + # The default number of jobs to use when running `make` in parallel. + # If set to 4, for example, `spack install` will run `make -j4`. + # If not set, all available cores are used by default. + # build_jobs: 4 |