about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-01-06 02:26:20 +0000
committerbors <bors@rust-lang.org>2019-01-06 02:26:20 +0000
commit3ad234f53bbc97805740e238604b5e5581003de7 (patch)
tree17118654f599fd3fef2b6dd1771954fa967bee3a /src/test/incremental/thinlto
parentad9068f874007e732d59ffef141f3ccd43e43a6b (diff)
parent71fed3a8ab479ec46d9fd9a7c5c8f4ffb97786dc (diff)
downloadrust-3ad234f53bbc97805740e238604b5e5581003de7.tar.gz
rust-3ad234f53bbc97805740e238604b5e5581003de7.zip
Auto merge of #57286 - alexcrichton:less-thin-2-2, r=nikomatsakis
bootstrap: Link LLVM as a dylib with ThinLTO (take 2)

When building a distributed compiler on Linux where we use ThinLTO to
create the LLVM shared object this commit switches the compiler to
dynamically linking that LLVM artifact instead of statically linking to
LLVM. The primary goal here is to reduce CI compile times, avoiding two+
ThinLTO builds of all of LLVM. By linking dynamically to LLVM we'll
reuse the one ThinLTO step done by LLVM's build itself.

Lots of discussion about this change can be found [here] and down. A
perf run will show whether this is worth it or not!

[here]: https://github.com/rust-lang/rust/pull/53245#issuecomment-417015334

---

This PR previously landed in https://github.com/rust-lang/rust/pull/56944, caused https://github.com/rust-lang/rust/issues/57111, and was reverted in https://github.com/rust-lang/rust/pull/57116. I've added one more commit here which should fix the breakage that we saw.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions