[libc-dev] libc project can't be built together with other projects

Itaru Kitayama via libc-dev libc-dev at lists.llvm.org
Mon Dec 2 14:40:47 PST 2019


If I add, for example, openmp to the list of projects, CMake errors out:

[...]
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
CMake Error at cmake/modules/AddLLVM.cmake:1456 (add_dependencies):
  The dependency target "clang" of target "check-all" does not exist.
Call Stack (most recent call first):
  CMakeLists.txt:987 (add_lit_target)


CMake Error at cmake/modules/AddLLVM.cmake:1456 (add_dependencies):
  The dependency target "clang-resource-headers" of target "check-all" does
  not exist.
Call Stack (most recent call first):
  CMakeLists.txt:987 (add_lit_target)


CMake Error at
/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1456
(add_dependencies):
  The dependency target "clang" of target "check-openmp" does not exist.
Call Stack (most recent call first):

/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1477
(add_lit_target)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190
(add_openmp_testsuite)
  /fefs/home/r1050/projects/llvm-project/openmp/CMakeLists.txt:95
(construct_check_openmp_target)


CMake Error at
/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1456
(add_dependencies):
  The dependency target "clang-resource-headers" of target "check-openmp"
  does not exist.
Call Stack (most recent call first):

/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1477
(add_lit_target)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190
(add_openmp_testsuite)
  /fefs/home/r1050/projects/llvm-project/openmp/CMakeLists.txt:95
(construct_check_openmp_target)


CMake Error at
/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1456
(add_dependencies):
  The dependency target "clang" of target "check-ompt" does not exist.
Call Stack (most recent call first):

/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1477
(add_lit_target)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/fefs/home/r1050/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36
(add_openmp_testsuite)


CMake Error at
/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1456
(add_dependencies):
  The dependency target "clang-resource-headers" of target "check-ompt" does
  not exist.
Call Stack (most recent call first):

/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1477
(add_lit_target)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/fefs/home/r1050/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36
(add_openmp_testsuite)


CMake Error at
/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1456
(add_dependencies):
  The dependency target "clang" of target "check-libomp" does not exist.
Call Stack (most recent call first):

/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1477
(add_lit_target)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/fefs/home/r1050/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33
(add_openmp_testsuite)


CMake Error at
/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1456
(add_dependencies):
  The dependency target "clang-resource-headers" of target "check-libomp"
  does not exist.
Call Stack (most recent call first):

/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1477
(add_lit_target)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/fefs/home/r1050/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33
(add_openmp_testsuite)


CMake Error at
/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1456
(add_dependencies):
  The dependency target "clang" of target "check-libomptarget" does not
  exist.
Call Stack (most recent call first):

/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1477
(add_lit_target)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/fefs/home/r1050/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15
(add_openmp_testsuite)


CMake Error at
/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1456
(add_dependencies):
  The dependency target "clang-resource-headers" of target
  "check-libomptarget" does not exist.
Call Stack (most recent call first):

/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1477
(add_lit_target)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/fefs/home/r1050/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15
(add_openmp_testsuite)


CMake Error at
/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1456
(add_dependencies):
  The dependency target "clang" of target "check-libarcher" does not exist.
Call Stack (most recent call first):

/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1477
(add_lit_target)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/fefs/home/r1050/projects/llvm-project/openmp/tools/archer/tests/CMakeLists.txt:29
(add_openmp_testsuite)


CMake Error at
/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1456
(add_dependencies):
  The dependency target "clang-resource-headers" of target "check-libarcher"
  does not exist.
Call Stack (most recent call first):

/fefs/home/r1050/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1477
(add_lit_target)

/fefs/home/r1050/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/fefs/home/r1050/projects/llvm-project/openmp/tools/archer/tests/CMakeLists.txt:29
(add_openmp_testsuite)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libc-dev/attachments/20191203/bed3e65e/attachment.html>


More information about the libc-dev mailing list