-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow user not to install llvm shared object #53852
Labels
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
We probably should link LLVM into the backend shared library statically. |
nagisa
added
the
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
label
Aug 31, 2018
A simple change would be to just add a custom suffix to Rust's LLVM build, something like:
|
Something like that would be great. |
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Sep 7, 2018
rustbuild: allow configuring llvm version suffix Fixes rust-lang#53852 by allowing user to install different versions of rust to the same sysroot.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Sep 8, 2018
rustbuild: allow configuring llvm version suffix Fixes rust-lang#53852 by allowing user to install different versions of rust to the same sysroot.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Sep 8, 2018
rustbuild: allow configuring llvm version suffix Fixes rust-lang#53852 by allowing user to install different versions of rust to the same sysroot.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current rust nightly installs
/usr/lib/libLLVM-7.so
. This will cause conflict with the system-provided llvm as soon as llvm 7 is packaged.It is thus impossible to use the rust-provided llvm in a future-proof way for system packages, making it mandatory to use the system-provided llvm (lacking rust patches).
It would be great to provide a way to use static linking like before (even if that means duplicating work with the thinLTO stuff).
The text was updated successfully, but these errors were encountered: