[LLVMdev] Problems with make
David Chisnall
David.Chisnall at cl.cam.ac.uk
Thu Jun 12 01:32:39 PDT 2014
On 12 Jun 2014, at 04:58, pratik dand <pratikdand143 at gmail.com> wrote:
> 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.
>
> 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?
> Can such changes be accommodated in the MakeFiles to get the "make" done quickly?
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.
David
More information about the llvm-dev
mailing list