#cubecl #llvm #bindings #tablegen

tracel-tblgen-rs

Safe Rust bindings for TableGen used by CubeCL

5 releases

Uses new Rust 2024

20.1.4-5 Sep 25, 2025
20.1.4-4 Sep 24, 2025
20.1.4-2 Sep 23, 2025
20.1.4-1 Sep 19, 2025

#280 in FFI

Download history 139/week @ 2025-09-16 664/week @ 2025-09-23 569/week @ 2025-09-30 607/week @ 2025-10-07 723/week @ 2025-10-14 669/week @ 2025-10-21 2048/week @ 2025-10-28 2207/week @ 2025-11-04 2745/week @ 2025-11-11 2671/week @ 2025-11-18 2783/week @ 2025-11-25 2301/week @ 2025-12-02

10,993 downloads per month
Used in 57 crates (via tracel-mlir-rs-macros)

MIT/Apache

90KB
2K SLoC

Rust 1.5K SLoC // 0.0% comments C++ 463 SLoC // 0.1% comments

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

Dispatch the workflow Release manually by providing it with the LLVM tag and release number.

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 the script ./build_llvm.sh 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.

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:

Please refer to the COPYRIGHT file for full license texts and copyright information.

Dependencies

~0.2–5.5MB
~92K SLoC