[LLVMdev] Recompiling llvm+clang how-to?

Duncan Sands baldrick at free.fr
Fri Jul 13 02:41:39 PDT 2012


Hi Journeyer J. Joh,

> I have questions about compiling Clang+llvm.
>
> I compile as the link below instructs.
>
> http://clang.llvm.org/get_started.html
>
> I do on Ubuntu 12.04.
>
> `time make -j5` prints for about 13 minutes to compile a brand new
> version of Clang+llvm.
> And after this I edit some C++ code(clang/tools/driver/driver.cpp) and
> compiles using the very same makefile which was used above sentence.

this is the correct procedure.

> But this time the make command event NOT return for about more than 13 hours.

This is not normal, you should investigate what process is stuck.

Ciao, Duncan.



More information about the llvm-dev mailing list