summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorJordan Galby <67924449+Jordan474@users.noreply.github.com>2022-11-04 10:05:22 +0100
committerGitHub <noreply@github.com>2022-11-04 02:05:22 -0700
commitb1f896e6c75560cdb4f315cd8e68a653d085db63 (patch)
treed35b01473361574105b3dab94d3a0c6945519959 /pytest.ini
parent34969b7072972d06d216391b3b14070eb71cd908 (diff)
downloadspack-b1f896e6c75560cdb4f315cd8e68a653d085db63.tar.gz
spack-b1f896e6c75560cdb4f315cd8e68a653d085db63.tar.bz2
spack-b1f896e6c75560cdb4f315cd8e68a653d085db63.tar.xz
spack-b1f896e6c75560cdb4f315cd8e68a653d085db63.zip
Fix non-parallel make under depfile jobserver (#32862)
When a package asks for non-parallel make, we need to force `make -j1` because just doing `make` will run in parallel under jobserver (e.g. `spack env depfile`). We now always add `-j1` when asked for a non-parallel execution (even if there is no jobserver). And each `MakeExecutable` can now ask for jobserver support or not. For example: the default `ninja` does not support jobserver so spack applies the default `-j`, but `ninja@kitware` or `ninja-fortran` does, so spack doesn't add `-j`. Tips: you can run `SPACK_INSTALL_FLAGS=-j1 make -f spack-env-depfile.make -j8` to avoid massive job-spawning because of build tools that don't support jobserver (ninja).
Diffstat (limited to 'pytest.ini')
0 files changed, 0 insertions, 0 deletions