Skip to content

mlir-rs/mlir-sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mlir-sys

GitHub Action Crate License

Rust bindings to the MLIR C API.

Versioning

Starting with LLVM 21, this crate follows a versioning scheme similar to llvm-sys. The crate version is the LLVM version multiplied by 10 with a patch version:

  • mlir-sys 210.0.x is compatible with LLVM/MLIR 21.0.x
  • Previous versions (0.x.x) used a different versioning scheme

Install

cargo add mlir-sys

This crate searches an llvm-config command on build and uses it to determine build configurations related to LLVM and MLIR. You can also use a MLIR_SYS_210_PREFIX environment variable to specify a custom directory of LLVM installation.

License

MIT

About

Rust bindings to the MLIR C API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6