7 releases
Uses new Rust 2024
| new 20.1.4-7 | Jan 30, 2026 |
|---|---|
| 20.1.4-6 | Jan 13, 2026 |
| 20.1.4-5 | Sep 25, 2025 |
#2260 in Algorithms
23,053 downloads per month
Used in 108 crates
(2 directly)
1MB
23K
SLoC
Tracel LLVM
The purpose of this repository is to provide an interface to MLIR from Rust for the CubeCL backend and support only one version at a time that is bundled automatically at compilation.
Publish a new release
-
Update the LLVM version and release number in file
config.rs. -
Create and commit the bindings with
cargo xtask bindgenfor Linux, MacOS and Windows. Additional instructions for new platforms may be found in docs/gen-bindings.md. -
Dispatch the workflow
Releasemanually. -
The workflow will create a new release named
v{LLVM_TAG}-{RELEASE_NUMBER}.
Note: Currently the workflow does not build the MacOS archive. It must be built manually by executing cargo xtask bundle build
at the root of the repository. It will create an archive at .llvm/macos-AArch64.tar.xz. Edit the GitHub release and upload this archive to it manually.
- Then trigger the workflow
Publishto publish the crates on crates.io.
Third-Party Acknowledgments
This workspace incorporates code from the following external repositories. Each retains its original license and copyright notices, as detailed in the COPYRIGHT file:
- mlir-rs/mlir-sys - Licensed under MIT
- mlir-rs/tblgen-rs - Licensed under MIT or Apache-2.0
- mlir-rs/mlir_rs - Licensed under Apache-2.0
Please refer to the COPYRIGHT file for full license texts and copyright information.
No runtime deps
~0–3.5MB
~49K SLoC