On 1 June 2016 at 10:19, Tim Northover <t.p.northo...@gmail.com> wrote: > On 1 June 2016 at 10:12, Dan Liew via cfe-dev <cfe-...@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. _______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev