TheDan64 / inkwell

It's a New Kind of Wrapper for Exposing LLVM (Safely)
https://thedan64.github.io/inkwell/
Apache License 2.0
2.38k stars 229 forks source link

Can't find Polly :( (tried the other posted issue too ) #490

Open Monsieur-Gray opened 7 months ago

Monsieur-Gray commented 7 months ago

Compiling llvm-sys v160.1.4 Compiling inkwell v0.4.0 (https://github.com/TheDan64/inkwell?branch=master#5d5a531c) error: could not find native static library Polly, perhaps an -L flag is missing?

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

amunra commented 7 months ago

I hit this too, but I hadn't installed the whole of LLVM.

I solved it on Ubuntu by following https://apt.llvm.org/:

wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh <version number> all
Cr0a3 commented 6 months ago

wget https://apt.llvm.org/llvm.sh chmod +x llvm.sh sudo ./llvm.sh all

Thanks, that also worked for my 👍