clang 3.8.
This commit is contained in:
parent
93c5ae3bb4
commit
910f4d7110
|
@ -13,10 +13,10 @@ os:
|
|||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- llvm-toolchain-precise-3.7
|
||||
- llvm-toolchain-precise
|
||||
packages:
|
||||
- clang-3.7
|
||||
- clang-format-3.7
|
||||
- clang-3.8
|
||||
- clang-format-3.8
|
||||
|
||||
git:
|
||||
# We handle submodules ourselves in xenia-build setup.
|
||||
|
|
|
@ -223,15 +223,15 @@ def get_clang_format_binary():
|
|||
"""
|
||||
attempts = [
|
||||
'C:\\Program Files (x86)\\LLVM\\bin\\clang-format.exe',
|
||||
'clang-format-3.7',
|
||||
'clang-format-3.8',
|
||||
'clang-format',
|
||||
]
|
||||
for binary in attempts:
|
||||
if os.path.exists(binary):
|
||||
if has_bin(binary):
|
||||
return binary
|
||||
print 'ERROR: clang-format is not on PATH'
|
||||
print 'LLVM is available from http://llvm.org/releases/download.html'
|
||||
print 'At least version 3.7 is required.'
|
||||
print 'At least version 3.8 is required.'
|
||||
print 'See docs/style_guide.md for instructions on how to get it.'
|
||||
sys.exit(1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue