diff options
author | Peter J. Scheibel <scheibel1@llnl.gov> | 2016-11-03 20:10:27 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-11-04 11:41:20 -0700 |
commit | 74b439b7f18c4fde0167320a9166bd0a28eedc77 (patch) | |
tree | 0f3c116f413c0488a083864da19e4cd3a5066cde | |
parent | a135a1245a3bcf61a683d25c313984408184fca5 (diff) | |
download | spack-74b439b7f18c4fde0167320a9166bd0a28eedc77.tar.gz spack-74b439b7f18c4fde0167320a9166bd0a28eedc77.tar.bz2 spack-74b439b7f18c4fde0167320a9166bd0a28eedc77.tar.xz spack-74b439b7f18c4fde0167320a9166bd0a28eedc77.zip |
Support 'COMPILERVERSION' in spec format string
-rw-r--r-- | lib/spack/spack/spec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py index 17f206d81b..83d92bd502 100644 --- a/lib/spack/spack/spec.py +++ b/lib/spack/spack/spec.py @@ -2311,7 +2311,7 @@ class Spec(object): elif named_str == 'COMPILERNAME': if self.compiler: write(fmt % self.compiler.name, '%') - elif named_str == 'COMPILERVER': + elif named_str in ['COMPILERVER', 'COMPILERVERSION']: if self.compiler: write(fmt % self.compiler.versions, '%') elif named_str == 'COMPILERFLAGS': |