-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Closed
Labels
cmakeBuild system in general and CMake in particularBuild system in general and CMake in particularplatform:windows
Description
Behavior
- Configure LLVM with cmake
Configuring done (90.7s)is reported- Reports error
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "zstd::libzstd_shared"
configuration "Release".
for A THOUSAND TIMES, literally
4. Reports Generating done (35.3s), then reports CMake Generate step failed. Build files cannot be regenerated correctly.
Additional Info
Command args
C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli "-DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_USE_LINKER=lld -DCLANG_ENABLE_CLANGD=1 -DLLVM_HOST_TRIPLE=x86_64 -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_TOOLCHAIN_FILE:STRING=D:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET:STRING=x64-windows -DCMAKE_C_COMPILER:FILEPATH=C:\Users\Lenovo\mingw64\bin\gcc.exe -DCMAKE_CXX_COMPILER:FILEPATH=C:\Users\Lenovo\mingw64\bin\g++.exe -SE:/git-proj/llvm-project-release-18.x/llvm -Be:/git-proj/llvm-project-release-18.x/build -G "MinGW Makefiles"System Info
Windows 11 Professional 64-bit, x86_64 arch cpu
Weird thing
The codebase is modified, but only 2 source files of clangd sub-project. No CMake-related file was modified. It could be configured successfully 2 weeks ago, but now it is generating errors. I don't know why and feel confused.
Full Log
Metadata
Metadata
Assignees
Labels
cmakeBuild system in general and CMake in particularBuild system in general and CMake in particularplatform:windows