I saw some of the tutorial about how to install MLIR start from git the llvm-project repo, but I have installed LLVM, in this case, should I find a new floder and git the llvm-project once again and build and so on?
In general, there should be no need for that. But it will depend on how you install things
If you are just cloning from https://github.com/llvm/llvm-project then you only do it once for the whole LLVM project (including sub-projects like MLIR). If installing pre-built binaries then this will depend on what is included in a particular package.
EDIT This is a duplicate of If I have installed LLVM, should I install MLIR from scratch? - #2 by chelini. Please avoid cross-posting, thanks!
Thanks a lot !!