[cfe-dev] [clang] How can I make Linking clang faster?

Tobias Grosser tobias at grosser.es
Thu Sep 22 04:23:45 CDT 2011


On 09/22/2011 09:16 AM, Liu wrote:
> Hi all
>
> When I build llvm with clang, the linking is so slow and ld have a
> high memory using, what can I do to solve this problem?
> The linking age make my compute very slow for a long time, because
> disk is reading/writing by ld.

Another option is to build with shared libraries. At least for LLVM this 
should remove the long final linking step. You pay for this with
slightly higher execution time of clang.

Cheers
Tobi


More information about the cfe-dev mailing list