]> git.lizzy.rs Git - rust.git/commit
Avoid installing external LLVM dylibs
authorMark Rousskov <mark.simulacrum@gmail.com>
Thu, 12 Nov 2020 14:49:45 +0000 (09:49 -0500)
committerMark Rousskov <mark.simulacrum@gmail.com>
Thu, 12 Nov 2020 14:49:45 +0000 (09:49 -0500)
commit3747df71fa280557f85d847dcb460c0cbe0d16ce
treeb59502b9cda478895552509a723a4be3863808b6
parentcf9cf7c923eb01146971429044f216a3ca905e06
Avoid installing external LLVM dylibs

If the LLVM was externally provided, then we don't currently copy artifacts into
the sysroot. This is not necessarily the right choice (in particular, it will
require the LLVM dylib to be in the linker's load path at runtime), but the
common use case for external LLVMs is distribution provided LLVMs, and in that
case they're usually in the standard search path (e.g., /usr/lib) and copying
them here is going to cause problems as we may end up with the wrong files and
isn't what distributions want.

This behavior may be revisited in the future though.
src/bootstrap/dist.rs