dev-lang/rust includes bundled llvm-4.0.1 (presumably with patches).
I understand that support for system-llvm was dropped,
but the bundled version is configured using:
I don't know how those targets were selected, but I'm pretty sure that it won't need most of those targets on my machine.
(In reply to Jan Vesely from comment #0)
done in pg_overlay
*** Bug 638584 has been marked as a duplicate of this bug. ***
Fixed in dev-lang/rust-1.26.0. The ebuild now uses LLVM_TARGETS to decide what targets to build.
The bug has been closed via the following commit(s):
Author: Dirkjan Ochtman <email@example.com>
AuthorDate: 2018-05-14 13:37:00 +0000
Commit: Dirkjan Ochtman <firstname.lastname@example.org>
CommitDate: 2018-05-14 14:38:35 +0000
dev-lang/rust: version bump to 1.26.0
Use LLVM_TARGETS to decide which targets to build for bundled LLVM. Use
xz-compressed tarballs where possible to limit bandwidth/storage.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-lang/rust/Manifest | 4 +
dev-lang/rust/rust-1.26.0.ebuild | 181 +++++++++++++++++++++++++++++++++++++++
2 files changed, 185 insertions(+)