Do not download clang on Windows

This commit is contained in:
Cheng Zhao 2016-05-03 09:38:15 +09:00
parent 49eed1ebb9
commit 67a768fc77

View file

@ -49,9 +49,10 @@ def main():
libcc_shared_library_path = os.path.join(dist_dir, 'shared_library')
libcc_static_library_path = os.path.join(dist_dir, 'static_library')
if PLATFORM != 'win32':
# Download prebuilt clang binaries.
update_clang()
if PLATFORM != 'win32' and not args.disable_clang and args.clang_dir == '':
if not args.disable_clang and args.clang_dir == '':
# Build with prebuilt clang.
set_clang_env(os.environ)