diff options
author | 2017-09-08 20:26:36 +0000 | |
---|---|---|
committer | 2017-09-10 13:20:49 +0000 | |
commit | bc7b1eab6ce374cb184857ab79fcc840e9587e3e (patch) | |
tree | 5284dff750e7b1bb0784292d905e4411de962ae1 /infra/bots/assets/clang_linux/create.py | |
parent | e5964bc7d42e86e280f3be50c472665edd4a13db (diff) |
update clang_linux package to Clang 5
Disable some new warning flags to get us building.
Change-Id: I10299d667b06fb61d03e52329883c634bd42f45c
Reviewed-on: https://skia-review.googlesource.com/44341
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'infra/bots/assets/clang_linux/create.py')
-rwxr-xr-x | infra/bots/assets/clang_linux/create.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/infra/bots/assets/clang_linux/create.py b/infra/bots/assets/clang_linux/create.py index f7a4a07f07..b68117761d 100755 --- a/infra/bots/assets/clang_linux/create.py +++ b/infra/bots/assets/clang_linux/create.py @@ -15,9 +15,12 @@ import subprocess import tempfile REPO = "https://llvm.googlesource.com/" -BRANCH = "release_40" +BRANCH = "release_50" def create_asset(target_dir): + # CMake will sometimes barf if we pass it a relative path. + target_dir = os.path.abspath(target_dir) + # Build Clang, lld, compiler-rt (sanitizer support) and libc++. os.chdir(tempfile.mkdtemp()) subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "llvm"]) |