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 and clang+llvm-21.1.4-aarch64-pc-windows-msvc.tar.xz).# For x86_64 (AMD64) 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-x64.tar.xz rm -rf llvm-21.1.4.0 # For ARM64 tar -xf clang+llvm-21.1.4-aarch64-pc-windows-msvc.tar.xz mv clang+llvm-21.1.4-aarch64-pc-windows-msvc llvm-21.1.4.0 tar -cf - llvm-21.1.4.0 | pv | xz > llvm-21.1.4.0-ARM64.tar.xzEach tarball must contain a top-level directory named
llvm-{version}.0/.llvm-21.1.4.0).LLVM 21.1.4).Tools/jit/_llvm.py and PCbuild/get_externals.py.llvm-21.1.4.0-x64.tar.xz, llvm-21.1.4.0-ARM64.tar.xz).cpython-bin-deps repository. If you don't have permissions, you should contact one of the organization admins.