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...
Must be something about my LLVM 18 setup
I'm just going to use nix for now... so I can continue with basic-cli stuff
Maybe this is helpful: https://gitlab.com/taricorp/llvm-sys.rs/-/issues/13#note_490405922
This is fixed by sudo apt -y install libpolly-18-dev
Last updated: Jul 06 2025 at 12:14 UTC