New Standalone MLIR Toy Tutorial (original) (raw)

October 24, 2025, 9:18am 1

Hi, I created a new github repo with a standalone Toy tutorial in it. My reason for doing this is that I want to be able to build it outside of the LLVM source tree, since it re-uses CMake stuff from there, and I am new to CMake so figuring out how to make a standalone build that consumes the MLIR system. Any improvements to the CMake build welcome!

There is also a Dockerfile to get everything set up in a clean reproducable way inside a container - useful for setting up a CI build.

Finally there are some example programs from the tutorial included, and a decent Readme that fully explains how to build and run it all.