This document includes details about the intricacies of the JIT build infrastructure.
When we update LLVM, we need to also update the LLVM release artifact for Windows builds. This is because Windows builds automatically pull prebuilt LLVM binaries in our pipelines (e.g. notice that .github/workflows/jit.yml does not explicitly download LLVM or build it from source).
To update the LLVM release artifact for Windows builds, follow these steps:
clang+llvm-21.1.4-x86_64-pc-windows-msvc.tar.xz).tar -xf clang+llvm-21.1.4-x86_64-pc-windows-msvc.tar.xz mv clang+llvm-21.1.4-x86_64-pc-windows-msvc llvm-21.1.4.0 tar -cf - llvm-21.1.4.0 | pv | xz > llvm-21.1.4.0.tar.xzThe tarball must contain a top-level directory named
llvm-{version}.0/.llvm-21.1.4.0).LLVM 21.1.4 for x86_64 Windows).Tools/jit/_llvm.py and PCbuild/get_externals.py.cpython-bin-deps repository. If you don't have permissions, you should contact one of the organization admins.