<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<br><div><br></div><div>(bcc: <a href="mailto:mlir@tensorflow.org">mlir@tensorflow.org</a> FYI)</div><div><br></div><div>I am following-up on the integration of MLIR in LLVM as a subproject (Re: <a href="http://lists.llvm.org/pipermail/llvm-dev/2019-October/135687.html">http://lists.llvm.org/pipermail/llvm-dev/2019-October/135687.html</a> ).</div><div><br></div><div>We're aiming to integrate into the monorepo next month. Right now our intent is for MLIR to live in a top-level directory in parallel to clang, lldb, lld, etc. </div><div>Our top option for the integration is to perform a git subtree merge to bring the MLIR history into the monorepo, here is a prototype: <a href="https://github.com/joker-eph/llvm-project-with-mlir">https://github.com/joker-eph/llvm-project-with-mlir</a></div><div><br></div><div>If you're curious to try it, at the moment it needs a specific CMake invocation: </div><div><br></div><div>cmake -G Ninja ../llvm/ -DLLVM_TARGETS_TO_BUILD="host" -DLLVM_EXTERNAL_PROJECTS=mlir -DLLVM_EXTERNAL_MLIR_SOURCE_DIR={path to repo}/mlir/</div><div><br></div><div>We'll hook into -DLLVM_ENABLE_PROJECTS after landing.</div><div><br></div><div>Let me know if you have any comment about this!</div><div><br></div><div>Cheers,</div><div><br></div><div>-- </div><div>Mehdi</div><div><br></div></div></div></div></div>