aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/assets/clang_linux/create.py
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-09-08 20:26:36 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-10 13:20:49 +0000
commitbc7b1eab6ce374cb184857ab79fcc840e9587e3e (patch)
tree5284dff750e7b1bb0784292d905e4411de962ae1 /infra/bots/assets/clang_linux/create.py
parente5964bc7d42e86e280f3be50c472665edd4a13db (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-xinfra/bots/assets/clang_linux/create.py5
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"])