mlir
mlir copied to clipboard
Import MLIR to an external project
Hi! How do you generally suggest to add MLIR to a project using cmake? There is not any config cmake file, as it is for LLVM - LLVMConfig.cmake. And also MLIR libraries are not visible when adding only llvm dependencies in cmakelists. Also, I am not sure how to correctly import MLIR, so that I am able to inherit from the MLIR classes. For llvm I should enable rtti, does the same option work here?
I think we haven't looked into this yet unfortunately (but we should). We don't use CMake internally so we just wrote the CMake files for building this repository alone but we don't have ourselves any external project using CMake.