Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638584 - dev-lang/rust: please add support for LLVM_TARGETS
Summary: dev-lang/rust: please add support for LLVM_TARGETS
Status: RESOLVED DUPLICATE of bug 627288
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-23 18:51 UTC by Enne Eziarc
Modified: 2018-03-11 23:06 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2017-11-23 18:51:07 UTC
Since rust contains an entire copy of llvm and builds it while completely ignoring the system copy, it would be nice if there was at least a way to tell it not to waste half the build compiling dead code like the amdgpu or nvptx targets.
Comment 1 Adrian Bassett 2017-12-10 18:45:58 UTC
(In reply to Anthony Parsons from comment #0)
> Since rust contains an entire copy of llvm and builds it while completely
> ignoring the system copy, it would be nice if there was at least a way to
> tell it not to waste half the build compiling dead code like the amdgpu or
> nvptx targets.

Agreed.  Also, is it really necessary to use the bundled copy of llvm rather than system llvm?  And, if it is, are there quantifiable benefits of using llvm rather than the system gcc, i.e. what is the real point of the clang use flag (whether correctly used or not)?
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2018-03-11 23:05:40 UTC
We used to support the system LLVM but due to the way Gentoo modified LLVM it made it not work. I cannot recall the underlying bugs but I'm sure you can find them in Bugzilla. I can take a second look to see if things have improved since.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2018-03-11 23:06:58 UTC

*** This bug has been marked as a duplicate of bug 627288 ***