[llvm-dev] Help with building MLIR

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 24 11:44:58 PST 2020


I am building MLIR with LLVM, using the 

LLVM_TOOL_MLIR_BUILD:BOOL=ON

option in CMakeCache. Indeed, the MLIR files are in my build tree.

Can someone tell me how to build just MLIR, or, better yet, just mlir-tblgen? I'm building llvm-tblgen with

ninja -j 6 bin/llvm-tblgen.exe

And so, silly me, I assumed I could just add

ninja -j 6 bin/mlir-tblgen.exe

But no joy. I haven't yet gotten the hang of specifying what to build.



More information about the llvm-dev mailing list