Different ways to build LLVM/MLIR tools

This is a mirror of the Substack article Different ways to build LLVM/MLIR tools The most recent version is there. LLVM and MLIR frameworks are typically used to build compilers for various use cases, but I’m using word “tools” here to cover a broader set of possibilities (compilers, language plugins, analyzers, etc.). If you want to build such a tool, then you obviously need to somehow “connect”…