Stream: contributing

Topic: Missing native libary Polly


view this post on Zulip Luke Boswell (Dec 20 2024 at 03:35):

Has anyone seen this before when building roc from source on x64 linux (native not nix)?

lb-dev@lbdev-HP-EliteDesk-800-G1-SFF:~/Documents/Github/roc$ cargo build --release -p roc_cli
   Compiling llvm-sys v180.0.0
   Compiling morphic_lib v0.1.0 (/home/lb-dev/Documents/Github/roc/crates/vendor/morphic_lib)
   Compiling roc_bitcode v0.0.1 (/home/lb-dev/Documents/Github/roc/crates/compiler/builtins/bitcode)
   Compiling wasi_libc_sys v0.0.1 (/home/lb-dev/Documents/Github/roc/crates/wasi-libc-sys)
   Compiling object v0.32.2
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...

view this post on Zulip Luke Boswell (Dec 20 2024 at 03:36):

Must be something about my LLVM 18 setup

view this post on Zulip Luke Boswell (Dec 20 2024 at 03:37):

I'm just going to use nix for now... so I can continue with basic-cli stuff

view this post on Zulip Anthony Bullard (Dec 20 2024 at 03:38):

Maybe this is helpful: https://gitlab.com/taricorp/llvm-sys.rs/-/issues/13#note_490405922

view this post on Zulip Anton (Dec 20 2024 at 09:49):

This is fixed by sudo apt -y install libpolly-18-dev


Last updated: Jul 06 2025 at 12:14 UTC