<div dir="ltr">Hi Sourabh,<div><br></div><div>This usually indicates a missing dependency in our CMakeLists.txt, if you restart the build a couple of times it will likely succeed.</div><div><br></div><div>I will try to fix this missing dependency today.</div><div><br></div><div>-- </div><div>Mehdi</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 24, 2019 at 1:37 AM Sourabh Singh Tomar <<a href="mailto:sourav0311@gmail.com">sourav0311@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>Since MLIR landed today. I'm trying to build it using</div><div>cmake ../llvm/ -DCMAKE_BUILD_TYPE=RELEASE -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ALL_PROJECTS="clang;lld;lldb;mlir" -DBUILD_SHARED_LIBS=ON -DCLANG_DEFAULT_LINKER:STRING=lld</div><div><br></div><div>and also by adding -DLLVM_ALL_PROJECTS.</div><div><br></div><div>It's giving this compilation error --<br><div><br></div><div>Building CXX object tools/mlir/lib/Analysis/CMakeFiles/obj.MLIRAnalysis.dir/AffineAnalysis.cpp.o<br>In file included from /home/sourabh/mirror-upstream/mlir/include/mlir/Dialect/AffineOps/AffineOps.h:22:0,<br>                 from /home/sourabh/mirror-upstream/mlir/lib/Analysis/AffineAnalysis.cpp:17:<br>/home/sourabh/mirror-upstream/mlir/include/mlir/Transforms/LoopLikeInterface.h:22:10: fatal error: mlir/Transforms/LoopLikeInterface.h.inc: No such file or directory<br> #include "mlir/Transforms/LoopLikeInterface.h.inc"<br>          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><div><br></div><div>Am I missing something? -- some pre-requisites ?</div><div><br></div><div>Thanks in anticipation!</div><div>Sourabh.<br>compilation terminated.<br></div></div></div>
</blockquote></div>