Closed tan-wei closed 3 years ago
Confirmed, this issue could repro, check the history, that feature added by https://github.com/microsoft/vcpkg/pull/10295, and it has never worked with feature.
Failures: CMake Error at E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/llvm/cmake/modules/AddLLVM.cmake:1566 (add_dependencies): The dependency target "FileCheck" of target "check-openmp" does not exist. Call Stack (most recent call first): E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/llvm/cmake/modules/AddLLVM.cmake:1587 (add_lit_target) E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/openmp/cmake/OpenMPTesting.cmake:183 (add_lit_testsuite) E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/openmp/cmake/OpenMPTesting.cmake:198 (add_openmp_testsuite) E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/openmp/CMakeLists.txt:95 (construct_check_openmp_target)
CMake Error at E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/llvm/cmake/modules/AddLLVM.cmake:1566 (add_dependencies): The dependency target "FileCheck" of target "check-libomp" does not exist. Call Stack (most recent call first): E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/llvm/cmake/modules/AddLLVM.cmake:1587 (add_lit_target) E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/openmp/cmake/OpenMPTesting.cmake:183 (add_lit_testsuite) E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/openmp/runtime/test/CMakeLists.txt:33 (add_openmp_testsuite)
CMake Error at E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/llvm/cmake/modules/AddLLVM.cmake:1566 (add_dependencies): The dependency target "FileCheck" of target "check-ompt" does not exist. Call Stack (most recent call first): E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/llvm/cmake/modules/AddLLVM.cmake:1587 (add_lit_target) E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/openmp/cmake/OpenMPTesting.cmake:183 (add_lit_testsuite) E:/VCPKG/boost_173/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c/openmp/runtime/test/CMakeLists.txt:36 (add_openmp_testsuite)
Looks same issue with https://bugs.llvm.org/show_bug.cgi?id=40557#c2
Thanks very much. Does it mean we should wait for llvm team fixing CMake module files?
@PhoebeHui @tan-wei Let me check this issue. I think OpenMP doesn't support build without LLVM test tools (lit, FileCheck).
@yurybura, thank you as always!
After some investigation, found it requires feature 'utils', which setting 'LLVM_INCLUDE_UTILS' to 'ON', then it configured successfully.
However, it start to build failed with 'ninja: error: 'lib/libomp.dll.lib', needed by 'lib/libomp.libd', missing and no known rule to make it'
Host Environment
To Reproduce Steps to reproduce the behavior:
./vcpkg install llvm[openmp]
Failure logs
config-x86-windows-out.log install-x86-windows-dbg-err.log