Rebuild llvmlite locally with a custom version of llvm-20

I wanted to install llvmlite locally based on an existing llvm 20. I used the following: LLVM_CONFIG=/usr/lib/llvm-20/bin/llvm-config CXXFLAGS=-fPIC LLVMLITE_SKIP_LLVM_VERSION_CHECK=1 pip3 install --no-binary :all: llvmlite

As error: Building wheel for llvmlite (pyproject.toml) … error
error: subprocess-exited-with-error
Building wheel for llvmlite (pyproject.toml) did not run successfully.

I also used unsuccessfully the following PR: GitHub - yashssh/llvmlite at yashwants/llvm19

Any hint?

llvmlite via main is currently not compatible with LLVM 20.

This is being worked on and should become available with the next release of llvmlite– you can track the release candidate here:

1 Like