diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2019-05-24 20:45:22 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-05-24 11:45:22 -0700 |
commit | c291866b9ac1c6b36022af4b8e9f362669e5f84f (patch) | |
tree | 62bed0c148d735b0c346da64f28e3bb3d0a70b6b /bin | |
parent | 1bd4521f723f7ac1d901423829ca965aeb00f9de (diff) | |
download | spack-c291866b9ac1c6b36022af4b8e9f362669e5f84f.tar.gz spack-c291866b9ac1c6b36022af4b8e9f362669e5f84f.tar.bz2 spack-c291866b9ac1c6b36022af4b8e9f362669e5f84f.tar.xz spack-c291866b9ac1c6b36022af4b8e9f362669e5f84f.zip |
build env: simplify handling of parallel jobs (#11524)
This PR implements several refactors requested in #11373, specifically:
- Config scopes are used to handle builtin defaults, command line overrides
and package overrides (`parallel=False`)
- `Package.make_jobs` attribute has been removed; `make_jobs` remains
as a module-scope variable in the build environment.
- The use of the argument `-j` has been rationalized across commands
- move '-j'/'--jobs' argument into `spack.cmd.common.arguments`
- Add unit tests to check that setting parallel jobs works as expected
- add new test to ensure that build job setting is isolated to each build
- Fix packages that used `Package.make_jobs` (i.e. `bazel`)
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions