> On Jun 1, 2016, at 10:19 AM, Tim Northover via llvm-dev 
> <llvm-...@lists.llvm.org> 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). For Unixy systems a simple "ln -s clang
> llvm/tools" from the top-level should do the trick, but I vaguely
> remember that Windows have issues with symlinks?
> 
> If so, we might have to restructure our CMake and we'd be able to fix
> that at the same time.

CMake already supports not having clang in tools with 
-DLLVM_EXTERNAL_CLANG_SOURCE_DIR=path/to/clang

-- 
Mehdi

_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to