mirror of
https://github.com/MaskRay/ccls.git
synced 2025-04-16 05:42:17 +00:00
Don't download clang if --clang-prefix is set (#453)
This commit is contained in:
parent
3d3b5dfeb3
commit
d678322c39
1
wscript
1
wscript
@ -212,6 +212,7 @@ def configure(ctx):
|
|||||||
print('--use-system-clang is deprecated. Please specify --llvm-config, e.g. /usr/bin/llvm-config llvm-config-6.0')
|
print('--use-system-clang is deprecated. Please specify --llvm-config, e.g. /usr/bin/llvm-config llvm-config-6.0')
|
||||||
|
|
||||||
# Do not use bundled clang+llvm
|
# Do not use bundled clang+llvm
|
||||||
|
if ctx.options.llvm_config is not None or ctx.options.clang_prefix is not None:
|
||||||
if ctx.options.llvm_config is not None:
|
if ctx.options.llvm_config is not None:
|
||||||
# Ask llvm-config for cflags and ldflags
|
# Ask llvm-config for cflags and ldflags
|
||||||
ctx.find_program(ctx.options.llvm_config, msg='checking for llvm-config', var='LLVM_CONFIG', mandatory=False)
|
ctx.find_program(ctx.options.llvm_config, msg='checking for llvm-config', var='LLVM_CONFIG', mandatory=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user