diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-09-18 02:28:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 18:28:48 -0600 |
commit | b847bb72f0db53f8741876d7633cc46b5f855759 (patch) | |
tree | a0104edae8306c0f0e093b374bf5afbf0682b04c /var | |
parent | 4d36c40cfb5225a27d25af444d0fc3dbb9e8791d (diff) | |
download | spack-b847bb72f0db53f8741876d7633cc46b5f855759.tar.gz spack-b847bb72f0db53f8741876d7633cc46b5f855759.tar.bz2 spack-b847bb72f0db53f8741876d7633cc46b5f855759.tar.xz spack-b847bb72f0db53f8741876d7633cc46b5f855759.zip |
Bootstrap should search for compilers after switching config scopes (#26029)
fixes #25992
Currently the bootstrapping process may need a compiler.
When bootstrapping from sources the need is obvious, while
when bootstrapping from binaries it's currently needed in
case patchelf is not on the system (since it will be then
bootstrapped from sources).
Before this PR we were searching for compilers as the
first operation, in case they were not declared in
the configuration. This fails in case we start
bootstrapping from within an environment.
The fix is to defer the search until we have swapped
configuration.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions