TheDan64 / inkwell

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

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

Open Monsieur-Gray opened 2 months ago

Monsieur-Gray commented 2 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 2 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
Toni-Graphics commented 1 month ago

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

Thanks, that also worked for my 👍