diff options
author | 2016-09-01 15:51:03 -0700 | |
---|---|---|
committer | 2016-09-01 15:51:03 -0700 | |
commit | 795423198ba883393a56196c6ea4481efabba311 (patch) | |
tree | f79b600b98984c1188ad514fa53a552f5cb5c94f /infra/bots/assets/clang_linux | |
parent | d592a4e5343a61a0dfc307bc59284bb24554a8d7 (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/VERSION | 2 | ||||
-rwxr-xr-x | infra/bots/assets/clang_linux/create.py | 1 |
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"]) |