[PATCH] D37637: [CMake] Determine early on which projects are enabled

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 08:45:26 PDT 2017


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/497b2580/attachment.html>


More information about the llvm-commits mailing list