[lldb-dev] [cfe-dev] [llvm-dev] GitHub anyone?

Dan Liew via lldb-dev lldb-dev at lists.llvm.org
Wed Jun 1 11:02:02 PDT 2016


On 1 June 2016 at 10:19, Tim Northover <t.p.northover at gmail.com> wrote:
> On 1 June 2016 at 10:12, Dan Liew via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>> the directories for each submodule will stay empty. Thus it isn't
>> necessary to pull down all the sources when using git submodules.
>> This would need support from the build system though. I'm not sure
>> what the build system would do right now if it found an empty
>> ``tools/clang`` directory in the source tree.
>
> You can't have submodules within submodules like that (or at least it
> didn't let me yesterday).

I didn't say anything about nested submodules. I was imagining the
LLVM repo being the top level repository with submodules for

projects/libcxx
projects/libcxxabi
projects/compiler-rt
tools/clang
tools/lldb

etc..

There's no nesting of submodules here. This assumes an in source tree
nesting of projects which perhaps is something we shouldn't do given
that the projects can also be built outside the source tree.

However I should say given previous experience with submodules I am a
little bit wary using them because of the problems caused by
developers not using them properly and breaking stuff.

I like the sounds of Mehdi's proposal of an automated integration
repository although I would need to look at the details a little
closer.


More information about the lldb-dev mailing list