mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Revert to clang4
This commit is contained in:
parent
145975df6b
commit
c5651a1dbf
6
wscript
6
wscript
@ -24,7 +24,8 @@ global CLANG_PLATFORM_NAME
|
|||||||
global CLANG_TARBALL_PLATFORM_NAME
|
global CLANG_TARBALL_PLATFORM_NAME
|
||||||
|
|
||||||
if sys.platform == 'linux' or sys.platform == 'linux2':
|
if sys.platform == 'linux' or sys.platform == 'linux2':
|
||||||
CLANG_PLATFORM_NAME = 'linux-x86_64-ubuntu14.04'
|
#CLANG_PLATFORM_NAME = 'linux-x86_64-ubuntu14.04'
|
||||||
|
CLANG_PLATFORM_NAME = 'x86_64-linux-gnu-ubuntu-14.04'
|
||||||
CLANG_TARBALL_PLATFORM_NAME = 'clang+llvm'
|
CLANG_TARBALL_PLATFORM_NAME = 'clang+llvm'
|
||||||
elif sys.platform == 'darwin':
|
elif sys.platform == 'darwin':
|
||||||
CLANG_PLATFORM_NAME = 'x86_64-apple-darwin'
|
CLANG_PLATFORM_NAME = 'x86_64-apple-darwin'
|
||||||
@ -34,7 +35,8 @@ else:
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Version of clang to download and use.
|
# Version of clang to download and use.
|
||||||
CLANG_VERSION = '5.0.0'
|
#CLANG_VERSION = '5.0.0'
|
||||||
|
CLANG_VERSION = '4.0.0'
|
||||||
# Tarball name on clang servers that should be used.
|
# Tarball name on clang servers that should be used.
|
||||||
CLANG_TARBALL_NAME = '{0}-{1}-{2}'.format(CLANG_TARBALL_PLATFORM_NAME, CLANG_VERSION, CLANG_PLATFORM_NAME)
|
CLANG_TARBALL_NAME = '{0}-{1}-{2}'.format(CLANG_TARBALL_PLATFORM_NAME, CLANG_VERSION, CLANG_PLATFORM_NAME)
|
||||||
# Directory clang has been extracted to.
|
# Directory clang has been extracted to.
|
||||||
|
Loading…
Reference in New Issue
Block a user