summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-08-27 17:04:46 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-08-27 17:04:46 -0700
commit2053db4d178f58e1d4f15c83e821e409a6e5f1eb (patch)
treeba48c446aa31ab52b2bd94d1fdf81a82cf3e8fef /lib
parent7ebb17e459cf32fe45c8d150c6f59e0613e121ef (diff)
downloadspack-2053db4d178f58e1d4f15c83e821e409a6e5f1eb.tar.gz
spack-2053db4d178f58e1d4f15c83e821e409a6e5f1eb.tar.bz2
spack-2053db4d178f58e1d4f15c83e821e409a6e5f1eb.tar.xz
spack-2053db4d178f58e1d4f15c83e821e409a6e5f1eb.zip
Make clang detection work on AWS Ubuntu14.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/compilers/clang.py2
1 files changed, 1 insertions, 1 deletions
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)