<div dir="ltr">Dear David,<div><br></div><div>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.</div><div>
<br></div><div>My directory structure looks like this</div><div>llvm</div><div> - configure</div><div> - rest</div><div>build</div><div><br></div><div>I want to build llvm in my build directory. Can you please help?</div>
<div><br></div><div>Regards,</div><div>Pratik</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 12, 2014 at 4:32 PM, David Chisnall <span dir="ltr"><<a href="mailto:David.Chisnall@cl.cam.ac.uk" target="_blank">David.Chisnall@cl.cam.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 12 Jun 2014, at 04:58, pratik dand <<a href="mailto:pratikdand143@gmail.com">pratikdand143@gmail.com</a>> wrote:<br>

<br>
> I am currently working on one specific architecture. When I make changes and try to "make" it takes a very long time as It compiles all the files in the source.<br>
><br>
> My question is since I am only editing a few files in the architecture directory and some files in include directory, Can I speed up my "make" by running "make" only for a few files?<br>
> Can such changes be accommodated in the MakeFiles to get the "make" done quickly?<br>
<br>
</div></div>If you're modifying LLVM, then I'd strongly recommend that you use CMake+Ninja.  On a moderately fast machine, it takes less time for me to do an incremental build with ninja after modifying a few files in the MIPS back end than it takes to do an incremental build with the autoconf / make system after modifying no files.<br>

<span class="HOEnZb"><font color="#888888"><br>
David<br>
 </font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Pratik<div><br></div>
</div>