[llvm-dev] [RFC] One or many git repositories?

Eric Fiselier via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 9 14:14:28 PDT 2016


On Fri, Jul 29, 2016 at 8:51 AM, Bruce Hoult via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

>
>
> On Sat, Jul 30, 2016 at 2:26 AM, Robinson, Paul via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>>
>> > Even then, are we seriously ignoring the fact that even if you did clone
>> > the whole repository including everything, that you can still build just
>> > the libc++ and sanitiser runtimes if you wanted to?
>>
>> Is it that easy to build a subset of a large checked-out tree?  I haven't
>> tried it but my impression is: not so much.  Certainly the advertised
>> tactics for configuring/building don't tell you how to do that.  Somebody
>> figuring out what it takes would be very constructive here, instead of
>> just asserting it can't possibly be that hard.
>>
>
> Right now, no. The build system assumes that if you checked someone out
> then you want to build it.
>
> This needs to change.
>

libc++ and libc++abi already provide make targets that allow you to build
build/install the libraries without
building LLVM/Clang.


>  I believe David Chisnall up-thread cited a difference in checkout times
>
>> on the order of a handful of seconds versus a couple of minutes.  While
>> naively it might seem not a big deal, over time and depending on what you
>> are trying to do yes it can be a big burden
>>
>
> That's a one time cost, not every time you do an update.
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160809/45aac360/attachment.html>


More information about the llvm-dev mailing list