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

Alexandre Isoard via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 9 07:22:19 PDT 2016


What I never understood is that Clang depends on LLVM (and LLVM doesn't
depends on Clang), yet Clang source code is more or less expected to be in
the LLVM source tree where I would have expected the reverse, that is LLVM
in the source tree of Clang and optionally compiled when compiling Clang.

On Fri, Sep 9, 2016 at 3:11 PM, Mehdi Amini via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

>
>
> On Sep 9, 2016, at 2:11 AM, Alexander Benikowski <sebal007 at googlemail.com>
> wrote:
>
> I'd vote for having each component in a seperated Repository and using a
> Monorepo with Submodules to work with.
> Since CLang depends on LLVM but not vice versa (if i am not mistaken. I'm
> new here), i'd prefer to just work with the LLVM repo if it is desired.
>
>
> Can you elaborate why and what kind of workflow you have that would
> benefit from this?
>
> Also did you read the document I sent with the examples?
>
> --
> Mehdi
>
>
>
>
> 2016-09-08 21:49 GMT+02:00 Renato Golin via llvm-dev <
> llvm-dev at lists.llvm.org>:
>
>> On 8 September 2016 at 19:37, Mehdi Amini via llvm-dev
>> <llvm-dev at lists.llvm.org> wrote:
>> > I'd expect a cmake shortcut cmake
>> > -DLLVM_ENABLE_PROjECTS=clang,libcxx,compiler-rt
>>
>> Hey, I like this idea!
>>
>> In that case, we don't need the directories in any particular
>> location, as CMake would be able to find and link any place *we* want
>> to put them in (in tree, flat out) and pull out their CMake files.
>>
>> This would also help each project to be built in its own, if they so
>> require, without upsetting the LLVM-canon build style.
>>
>> cheers,
>> --renato
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>


-- 
*Alexandre Isoard*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160909/ffaf3e18/attachment-0001.html>


More information about the llvm-dev mailing list