[PATCH] D37637: [CMake] Determine early on which projects are enabled
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 09:07:41 PDT 2017
I'm unable to reproduce this. Can you try nuking your output directory and
doing a clean build? (re-generate cmake from scratch into an empty
directory)
The only difference between our layouts I can see is that I don't have
compiler-rt checked out, but that shouldn't matter because your first error
involves a dependency from check-all -> lld, and that shouldn't have
anything to do with whether compiler-rt is checked out
On Wed, Sep 13, 2017 at 8:45 AM Zachary Turner <zturner at google.com> wrote:
> I'm looking into this right now.
>
> On Wed, Sep 13, 2017 at 2:45 AM Philip Douglas via Phabricator <
> reviews at reviews.llvm.org> wrote:
>
>> pdouglas added a comment.
>>
>> Hi, since this change we're seeing a Cmake error (see below) when we run
>> it with -DLLVM_TOOL_LLD_BUILD=OFF but with tools/lld checked out. If either
>> that argument isn't passed or the lld directory isn't present, it runs fine.
>>
>> -- Configuring done
>> CMake Error at cmake/modules/AddLLVM.cmake:1241 (add_dependencies):
>> The dependency target "lld" of target "check-all" does not exist.
>> Call Stack (most recent call first):
>> CMakeLists.txt:933 (add_lit_target)
>>
>>
>> CMake Error at cmake/modules/AddLLVM.cmake:1241 (add_dependencies):
>> The dependency target "lld" of target "check-cfi" does not exist.
>> Call Stack (most recent call first):
>> cmake/modules/AddLLVM.cmake:1262 (add_lit_target)
>> projects/compiler-rt/test/cfi/CMakeLists.txt:80 (add_lit_testsuite)
>>
>>
>> CMake Error at cmake/modules/AddLLVM.cmake:1241 (add_dependencies):
>> The dependency target "lld" of target "check-cfi-and-supported" does
>> not
>> exist.
>> Call Stack (most recent call first):
>> projects/compiler-rt/test/cfi/CMakeLists.txt:84 (add_lit_target)
>>
>>
>> CMake Error at cmake/modules/AddLLVM.cmake:1241 (add_dependencies):
>> The dependency target "lld" of target "check-asan" does not exist.
>> Call Stack (most recent call first):
>> cmake/modules/AddLLVM.cmake:1262 (add_lit_target)
>> projects/compiler-rt/test/asan/CMakeLists.txt:161 (add_lit_testsuite)
>>
>>
>> CMake Error at cmake/modules/AddLLVM.cmake:1241 (add_dependencies):
>> The dependency target "lld" of target "check-asan-dynamic" does not
>> exist.
>> Call Stack (most recent call first):
>> cmake/modules/AddLLVM.cmake:1262 (add_lit_target)
>> projects/compiler-rt/test/asan/CMakeLists.txt:167 (add_lit_testsuite)
>>
>>
>> Repository:
>> rL LLVM
>>
>> https://reviews.llvm.org/D37637
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170913/88780bfb/attachment.html>
More information about the llvm-commits
mailing list