From 2053db4d178f58e1d4f15c83e821e409a6e5f1eb Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sat, 27 Aug 2016 17:04:46 -0700 Subject: Make clang detection work on AWS Ubuntu14. --- lib/spack/spack/compilers/clang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/compilers/clang.py b/lib/spack/spack/compilers/clang.py index 4cf65222ae..36c91f6670 100644 --- a/lib/spack/spack/compilers/clang.py +++ b/lib/spack/spack/compilers/clang.py @@ -101,7 +101,7 @@ class Clang(Compiler): ver = match.group(1) + '-apple' else: # Normal clang compiler versions are left as-is - match = re.search(r'^clang version ([^ )]+)', output) + match = re.search(r'clang version ([^ )]+)', output) if match: ver = match.group(1) -- cgit v1.2.3-70-g09d2