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') libcc_static_library_path = os.path.join(dist_dir, 'static_library')
if PLATFORM != 'win32': if PLATFORM != 'win32':
# Download prebuilt clang binaries. if not args.disable_clang and args.clang_dir == '':
update_clang() # Download prebuilt clang binaries.
update_clang()
setup_python_libs() setup_python_libs()
update_node_modules('.') update_node_modules('.')