[LLVMdev] workflow for linking clang

Eric Christopher echristo at gmail.com
Mon Aug 19 13:02:44 PDT 2013


On Fri, Aug 16, 2013 at 2:24 PM, reed kotler <rkotler at mips.com> wrote:
> On 08/16/2013 02:23 PM, David Chisnall wrote:
>>
>> On 16 Aug 2013, at 22:01, reed kotler <rkotler at mips.com> wrote:
>>
>>> we used to be able to just make in the lib/target/Mips and then in llc
>>> and it was really fast.
>>>
>>> part of it is probably that we have all this debug information that we
>>> don't need because none of use are working on clang itself (well, almost
>>> never).
>>>
>>> ideas?
>>
>> I build a dynamically-linked version of LLVM + clang and it takes about 10
>> seconds for ninja to rebuild after editing one of the MIPS back end files.
>>
>> David
>>
> someone said that you can't do a make install after that.
>
> how do you deal with that?
>

Don't really worry about it myself, clang is perfectly usable out of
the build directory.

Also the -gsplit-dwarf stuff speeds up linking on linux quite a bit.

-eric



More information about the llvm-dev mailing list