diff --git a/lib/spack/spack/compilers/clang.py b/lib/spack/spack/compilers/clang.py index 340051019cc..998d4e59323 100644 --- a/lib/spack/spack/compilers/clang.py +++ b/lib/spack/spack/compilers/clang.py @@ -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) ([^ )]+)')