[go: up one dir, main page]

Skip to content

Requires setting LLVM_SYS_181_PREFIX=/usr/local/llvm21 to compile on FreeBSD

  • version of llvm-sys you're using (either crate version or commit hash)

llvm-sys@181.2.0

  • OS you're compiling on, including version if possible (example: Ubuntu 20.04 or macOS 13)

FreeBSD 14.

  • what version of LLVM you're building against and where you got it from (from a package provided by your OS, built it yourself, using llvmenv..)

LLVM v21 from the OS.

I have to manually add LLVM_SYS_181_PREFIX=/usr/local/llvm21 when compiling to make it find LLVM on FreeBSD.

Can you add a conditional cfg for FreeBSD that checks `/usr/local/llvm{11,12,13,14,15,16,17,18,19,20,21} on FreeBSD?