diff options
author | Greg Becker <becker33@llnl.gov> | 2019-07-20 02:42:12 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-07-20 00:42:12 -0700 |
commit | 8ec098716b977544ed16eb45cfa78f74d19f51ff (patch) | |
tree | f63db87c4ba19d15b95d8f99695400459f052ae1 /bin | |
parent | 993ee7f199063890cbd0589c377c8da059cf6f05 (diff) | |
download | spack-8ec098716b977544ed16eb45cfa78f74d19f51ff.tar.gz spack-8ec098716b977544ed16eb45cfa78f74d19f51ff.tar.bz2 spack-8ec098716b977544ed16eb45cfa78f74d19f51ff.tar.xz spack-8ec098716b977544ed16eb45cfa78f74d19f51ff.zip |
compilers: don't raise errors for duplicate compiler definitions (#11910)
Summary:
- Allow multiple definitions of compiler in compilers.yaml (use first instance)
- Still print debug messages when there are duplicates, to assist users in finding this issue.
Merging configs from different scopes can result in multiple compiler being present in the same configuration list. Instead of raising when there are duplicates, take the one with highest precedence.
Print a debug message instead of raising, so that we can still diagnose this. We don't have a good way of warning the user about inconsistent configuration *in the same file* -- we'd need to dig into YAML file/line info for that.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions