Fix regex to find version on OS X

This commit is contained in:
Adam J. Stewart 2016-01-21 11:06:27 -06:00 committed by Todd Gamblin
parent 41cd8f8e6d
commit fb5274145a

View File

@ -54,4 +54,4 @@ def default_version(self, comp):
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) ([^ )]+)')