aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/assets/clang_linux
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-09-01 15:51:03 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-01 15:51:03 -0700
commit795423198ba883393a56196c6ea4481efabba311 (patch)
treef79b600b98984c1188ad514fa53a552f5cb5c94f /infra/bots/assets/clang_linux
parentd592a4e5343a61a0dfc307bc59284bb24554a8d7 (diff)
GN: Build and link with LLD when using our Clang toolchain.
I am hoping this makes it easier to get *SAN bots going. Today we're generating a libcompiler_rt.a that's using a relocation type that the ld on the bots doesn't know about. This lld is will know about anything our Clang generates. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2301273002 Review-Url: https://codereview.chromium.org/2301273002
Diffstat (limited to 'infra/bots/assets/clang_linux')
-rw-r--r--infra/bots/assets/clang_linux/VERSION2
-rwxr-xr-xinfra/bots/assets/clang_linux/create.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/infra/bots/assets/clang_linux/VERSION b/infra/bots/assets/clang_linux/VERSION
index d8263ee986..e440e5c842 100644
--- a/infra/bots/assets/clang_linux/VERSION
+++ b/infra/bots/assets/clang_linux/VERSION
@@ -1 +1 @@
-2 \ No newline at end of file
+3 \ No newline at end of file
diff --git a/infra/bots/assets/clang_linux/create.py b/infra/bots/assets/clang_linux/create.py
index c72261693c..ace0d6c957 100755
--- a/infra/bots/assets/clang_linux/create.py
+++ b/infra/bots/assets/clang_linux/create.py
@@ -22,6 +22,7 @@ def create_asset(target_dir):
subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "llvm"])
os.chdir("llvm/tools")
subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "clang"])
+ subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "lld"])
os.chdir("../projects")
subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "compiler-rt"])
subprocess.check_call(["git", "clone", "-b", BRANCH, REPO + "libcxx"])