[llvm-dev] [cfe-dev] GitHub anyone?
Mehdi Amini via llvm-dev
llvm-dev at lists.llvm.org
Wed Jun 1 11:24:58 PDT 2016
> On Jun 1, 2016, at 10:19 AM, Tim Northover via llvm-dev <llvm-dev at lists.llvm.org> 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). 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
More information about the llvm-dev
mailing list