From 74b439b7f18c4fde0167320a9166bd0a28eedc77 Mon Sep 17 00:00:00 2001 From: "Peter J. Scheibel" Date: Thu, 3 Nov 2016 20:10:27 -0700 Subject: Support 'COMPILERVERSION' in spec format string --- lib/spack/spack/spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- cgit v1.2.3-60-g2f50