Skip to content
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

[DNM] Also install llvm-tools on toolchain setup #5630

Closed
wants to merge 1 commit into from

Conversation

flip1995
Copy link
Member

Preparation for rust-lang/rust#72000

cc @cuviper @Mark-Simulacrum Is this the correct way to install the llvm-tools with RTIM?

Before merging this, I want to try if llvm-tools are really necessary to compile Clippy. From the rust PR I understood, that it probably will be.

changelog: none

@flip1995 flip1995 added the S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work label May 22, 2020
@cuviper
Copy link
Member

cuviper commented May 22, 2020

Before merging this, I want to try if llvm-tools are really necessary to compile Clippy. From the rust PR I understood, that it probably will be.

Try removing lib/rustlib/$target/lib/libLLVM*.so (but leave the one in lib/) and then see what happens. I'm guessing you'll get link errors for missing -lLLVM.

@Mark-Simulacrum
Copy link
Member

This looks correct to me.

@flip1995
Copy link
Member Author

flip1995 commented May 22, 2020

Yes there are linking errors. https://github.com/rust-lang/rust-clippy/pull/5632/checks?check_run_id=699500949

But it's -c llvm-tools without preview.

This is included in #5632

@flip1995 flip1995 closed this May 22, 2020
@flip1995 flip1995 deleted the llvm-tools branch May 22, 2020 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants