diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-01-21 11:06:27 -0600 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-01-25 03:10:13 -0800 |
commit | fb5274145aac9266435f3e16f19ce3e30ba1550f (patch) | |
tree | f991902de1db2d81fd00dd0f3b0a6aa91ff82741 /lib | |
parent | 41cd8f8e6d78f45c31145652a518b9d6d7d9a9c3 (diff) | |
download | spack-fb5274145aac9266435f3e16f19ce3e30ba1550f.tar.gz spack-fb5274145aac9266435f3e16f19ce3e30ba1550f.tar.bz2 spack-fb5274145aac9266435f3e16f19ce3e30ba1550f.tar.xz spack-fb5274145aac9266435f3e16f19ce3e30ba1550f.zip |
Fix regex to find version on OS X
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/compilers/clang.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/compilers/clang.py b/lib/spack/spack/compilers/clang.py index 340051019c..998d4e5932 100644 --- a/lib/spack/spack/compilers/clang.py +++ b/lib/spack/spack/compilers/clang.py @@ -54,4 +54,4 @@ class Clang(Compiler): Thread model: posix """ return get_compiler_version( - comp, '--version', r'(?:clang version|based on LLVM) ([^ )]+)') + comp, '--version', r'(?:clang version|based on LLVM|LLVM version) ([^ )]+)') |