spack/lib/spack
scheibelp 9a27dec8e8 Dont auto-init compiler conf for 'compiler find' (#3439)
Fixes #3428

Users can run 'spack compiler find' to automatically initialize their
compilers.yaml configuration file. It also turns out that Spack will
implicitly initialize the compilers configuration file as part of
detecting compilers if none are found (so if a user were to attempt to
concretize a spec without running 'spack compiler find' it would not
fail). However, in this case Spack was overlooking its own implicit
initialization of the config files and would report that no new
compilers were found. This commit removes implicit initialization when
the user calls 'spack compiler find'.

This did not surface until #2999 because the 'spack compiler' command
defaulted to using a scope 'user/platform' that was not accounted for
in get_compiler_config (where the implicit initialization logic
predates the addition of this new scope); #2999 removed the scope
specification when checking through config files, leading to the
implicit initialization.
2017-03-16 11:24:34 -07:00
..
docs Consistent docs and usage of env mod methods (#3351) 2017-03-14 22:26:44 -07:00
env Correct inconsistency in comment (#3414) 2017-03-11 12:52:08 -06:00
external Make distro more robust to unreadable files (#3110) 2017-02-10 10:23:04 -08:00
llnl created elf virtual package and updated dependent packages (#3317) 2017-03-09 10:36:32 -08:00
spack Dont auto-init compiler conf for 'compiler find' (#3439) 2017-03-16 11:24:34 -07:00