CppJIT is the consolidated monorepo packaging of the compiler-research forks of the cppyy package, a Python-C++ interoperability package based on LLVM, leveraging CppInterOp for the Clang-REPL interpreter backend and Compiler-as-a-Service facilities. Star us and stay tuned for pip releases coming summer 2026.
- LLVM/Clang 21
- Installed system-wide (e.g.
apt install llvm-21-dev clang-21) - Installed via your favourite package manager (e.g.
conda install -c conda-forge "llvmdev=21" "clangdev=21") - To use a source build of LLVM, pass the path to pip like
pip install . --config-settings=cmake.define.LLVM_DIR=/path/to/build/lib/cmake/llvm
- Installed system-wide (e.g.
- Python 3.12+ with development headers (e.g.
apt install python3.14 python3.14-dev) - CMake 3.16+
Run pip install .
mkdir build && cd build
cmake .. -DLLVM_DIR=/path/to/llvm/lib/cmake/llvm -DCMAKE_BUILD_TYPE=Debug
cmake --build . -j$(nproc)
cmake --install . --prefix /path/to/installTo currently set up a source build, please look at the instructions at https://github.com/compiler-research/CppInterOp