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

llvm-sys doesn't get compiled on ubuntu #397

Closed
thinkrapido opened this issue Feb 2, 2023 · 3 comments
Closed

llvm-sys doesn't get compiled on ubuntu #397

thinkrapido opened this issue Feb 2, 2023 · 3 comments

Comments

@thinkrapido
Copy link
Contributor

Bug Report

error: could not find native static library Polly, perhaps an -L flag is missing?

error: could not compile llvm-sys due to previous error
warning: build failed, waiting for other jobs to finish...

It seams that inkwell is not compiling itself properly, becaus this crate imports llvm-sys

1. Minimal reproduce step (Required)

cargo build

2. What did you expect to see? (Required)

successful compilation

3. What did you see instead (Required)

4. What is your KusionStack components version? (Required)

8ed4c5e (HEAD -> main, tag: v0.4.4, origin/main, origin/HEAD) Feat(kclvm-win): remove the "kclvm.requirements.done.txt" on windows. (#392)

@thinkrapido thinkrapido changed the title lib-sys doesn't get compiled on ubuntu llcm-sys doesn't get compiled on ubuntu Feb 2, 2023
@thinkrapido thinkrapido changed the title llcm-sys doesn't get compiled on ubuntu llvm-sys doesn't get compiled on ubuntu Feb 2, 2023
@thinkrapido
Copy link
Contributor Author

Maybe related wasmerio/wasmer#2435

@Peefy
Copy link
Contributor

Peefy commented Feb 2, 2023

@thinkrapido Would you please tell me your ubuntu version and LLVM version? KCLVM needs an LLVM-12 version. You can refer to the development guide.

@thinkrapido
Copy link
Contributor Author

Ok, I solved it. I had not only to install libllvm but also clang

@Peefy Peefy closed this as completed Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants