]> git.lizzy.rs Git - rust.git/commit
Auto merge of #53828 - alexcrichton:dist-llvm-shared, r=japaric
authorbors <bors@rust-lang.org>
Thu, 30 Aug 2018 22:54:34 +0000 (22:54 +0000)
committerbors <bors@rust-lang.org>
Thu, 30 Aug 2018 22:54:34 +0000 (22:54 +0000)
commitc6047ea192c37d63a5c36a67112ce708e221c101
treee0981b3049a5ae5da6effc5cd8f44e293f7340c7
parentf8d34596ff74da91e0877212a9979cb9ca13eb7e
parentb7a604ab34ac247f13b1f91f8351a0e3c50df52f
Auto merge of #53828 - alexcrichton:dist-llvm-shared, r=japaric

rustbuild: Distribute libLLVM.so with rustc

A recent change (#53245) started to build LLVM with ThinLTO enabled and to
ensure that compile times are kept down it builds LLVM dynamically by default to
ensure that all the various LLVM tools aren't redoing all that optimization
work. This means, however, that all LLVM tools depend on LLVM's dynamic library
by default.

While the LLVM tools and LLDB components were updated to include the shared
library we accidentally forgot about LLD, included with the main rustc
component. LLD also links dynamically to LLVM and ships a non-working binary
right now because of this!

This commit updates our distribution to ship the LLVM dynamic library with the
compiler libraries.  While not technically needed for rustc itself to operate
(right now) it may be needed for LLD, and otherwise it serves as a good basis
for the other LLVM tools components to work with as well.

This should...

Closes #53813