[LLVMdev] speeding up compilation and link time

Mike Stump mrs at apple.com
Mon Feb 18 14:25:36 PST 2008


On Feb 16, 2008, at 12:14 PM, john hull wrote:
> Does anyone have any ideas or tips on how to shorten the time to  
> build?

You can precompile headers...  The only change needed for makefiles is  
generally to add:

g++ -c foo.h -o foo.h.gch

and then to use -include foo.h on the compiles.



More information about the llvm-dev mailing list