spack/lib/spack
Massimiliano Culpo b847bb72f0
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.
2021-09-17 18:28:48 -06:00
..
docs Recommend Git's manyFiles feature (#25977) 2021-09-16 09:41:10 -06:00
env cc: Use parameter expansion instead of basename (#24509) 2021-09-16 16:25:49 +00:00
external Use a patched argparse only in Python 2.X (#25376) 2021-08-17 08:52:51 -07:00
llnl Fix: --overwrite backs up old install dir, but it gets destroyed anyways (#25583) 2021-08-27 12:41:24 -07:00
spack Bootstrap should search for compilers after switching config scopes (#26029) 2021-09-17 18:28:48 -06:00