[PATCH] D37637: [CMake] Determine early on which projects are enabled
Philip Douglas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 02:45:07 PDT 2017
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
More information about the llvm-commits
mailing list