diff options
author | Greg Becker <becker33@llnl.gov> | 2020-08-19 21:56:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 21:56:06 -0700 |
commit | ccf94ded67e688770dc8d0388d8f75d0d6641e1e (patch) | |
tree | b3430021092769154cc24d662853d2239c120386 /.flake8_packages | |
parent | 1650824ef5886a12715bd0004e95ab3bf4dc5dfd (diff) | |
download | spack-ccf94ded67e688770dc8d0388d8f75d0d6641e1e.tar.gz spack-ccf94ded67e688770dc8d0388d8f75d0d6641e1e.tar.bz2 spack-ccf94ded67e688770dc8d0388d8f75d0d6641e1e.tar.xz spack-ccf94ded67e688770dc8d0388d8f75d0d6641e1e.zip |
Compilers: use Compiler._real_version for flag version checks (#18179)
Compilers can have strange versions, as the version is provided by the user. We know the real version internally, (by querying the compiler) so expose it as a property and use it in places we don't trust the user. Eventually we'll refactor this with compilers as dependencies, but this is the best fix we've got for now.
- [x] Make `real_version` a property and cache the version returned by the compiler
- [x] Use `real_version` to make C++ language level flags work
Diffstat (limited to '.flake8_packages')
0 files changed, 0 insertions, 0 deletions