Skip to content

Conversation

@marcantoinem
Copy link

@marcantoinem marcantoinem commented Jun 11, 2025

I'm writing a CPU backend in https://github.com/tracel-ai/cubecl and I needed to make mlir-sys a bit more portable and add a way to not depend on the system installation of llvm which could not be the good version. I wrote a crate to add this capability to tblgen-rs also. https://github.com/marcantoinem/llvm-bundler-rs The crates use a github action to get a specific version llvm compile it and compress it into a Github release that is then downloaded during compilation. I would love to merge it upstream. It also contains fixes to allow static linking for MLIR by reading the mlir dependency cmake and doing a topological sort. I would like to move this crate in the mlir-rs organisation to make it more trustworthy.

It also support only linux for the moment, but I will add MacOs and Windows support soon.

@femtomc
Copy link
Collaborator

femtomc commented Sep 16, 2025

Thanks for this! Sorry for delay in looking at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants