<p dir="ltr"><br>
> I am trying to do it with Cmake+Ninja. I was trying cmake -G ninja ../llvm/configure to configure. <br>
> But this didn't work as the path specified wasnt a directory.</p>
<p dir="ltr">You need to pass the path to the source directory to CMake. i.e.</p>
<p dir="ltr">$ cmake -G Ninja ../llvm</p>
<p dir="ltr">The configure script has no involvement in the configuration/building of LLVM when using CMake.</p>
<p dir="ltr">Please read the documentation on building with CMake[1] before asking further questions.<br></p>
<p dir="ltr">[1] <a href="http://llvm.org/docs/CMake.html#quick-start">http://llvm.org/docs/CMake.html#quick-start</a><br><br></p>