Merge pull request #5600 from tensor5/update_clang_only_if_needed

Update Clang only if needed
This commit is contained in:
Cheng Zhao 2016-05-19 10:29:29 +00:00
commit 480f0fbfd7

View file

@ -50,8 +50,9 @@ def main():
libcc_static_library_path = os.path.join(dist_dir, 'static_library')
if PLATFORM != 'win32':
# Download prebuilt clang binaries.
update_clang()
if not args.disable_clang and args.clang_dir == '':
# Download prebuilt clang binaries.
update_clang()
setup_python_libs()
update_node_modules('.')