[llvm-dev] MLIR landing in the monorepo
Mehdi AMINI via llvm-dev
llvm-dev at lists.llvm.org
Fri Nov 15 02:02:49 PST 2019
Hi,
(bcc: mlir at tensorflow.org FYI)
I am following-up on the integration of MLIR in LLVM as a subproject (Re:
http://lists.llvm.org/pipermail/llvm-dev/2019-October/135687.html ).
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.
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:
https://github.com/joker-eph/llvm-project-with-mlir
If you're curious to try it, at the moment it needs a specific CMake
invocation:
cmake -G Ninja ../llvm/ -DLLVM_TARGETS_TO_BUILD="host"
-DLLVM_EXTERNAL_PROJECTS=mlir -DLLVM_EXTERNAL_MLIR_SOURCE_DIR={path to
repo}/mlir/
We'll hook into -DLLVM_ENABLE_PROJECTS after landing.
Let me know if you have any comment about this!
Cheers,
--
Mehdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191115/3cc8ead9/attachment.html>
More information about the llvm-dev
mailing list