This repository provides pre-built MLIR binaries. Standalone zstd executables
are also provided as separate assets for each supported platform to facilitate
decompression.
Windows builds support Release mode only. The Linux and macOS build scripts also
support Debug mode. macOS builds require Apple silicon (arm64).
For installation instructions, please refer to the
setup-mlir
repository. The repository provides
- an action for setting up MLIR in GitHub Actions and
- installation scripts for setting up MLIR locally.
If desired, you can run the staged build scripts directly. Refer to
scripts/toolchain/linux/build-zstd.sh,scripts/toolchain/linux/build-mold.sh, andscripts/toolchain/linux/build-mlir.shfor Linux,scripts/toolchain/macos/build-zstd.shandscripts/toolchain/macos/build-mlir.shfor macOS, andscripts/toolchain/windows/build-zstd.ps1,scripts/toolchain/windows/build-lld.ps1, andscripts/toolchain/windows/build-mlir.ps1for Windows.
The usage is documented in each script. Linux builds run in a manylinux
container and therefore require Docker on the host system. Windows LLVM builds
require Visual Studio and clang-cl on PATH. The installation test uses MSVC.
Archives ending in _noassert.tar.zst disable LLVM assertions and the
associated ABI-breaking checks. Archives without this suffix retain assertions.
Build scripts accept LLVM_ENABLE_ASSERTIONS=ON (the default) or OFF; release
CI builds and tests both. Always use headers and libraries from the same
variant. Both variants contain native static libraries and tools, with LLVM
exception handling and RTTI disabled.