Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake Error in dependencies/llvm/CMakeLists.txt: #5877

Closed
Rohan-Zanjal opened this issue Apr 5, 2021 · 1 comment
Closed

CMake Error in dependencies/llvm/CMakeLists.txt: #5877

Rohan-Zanjal opened this issue Apr 5, 2021 · 1 comment

Comments

@Rohan-Zanjal
Copy link

D:\Halide>set IMPORTED_LOCATION=D:\vcpkg\buildtrees\llvm\x64-windows-rel\tools\lld\wasm\CMakeFiles

D:\Halide>cmake -G Ninja ^
More? More? -DCMAKE_BUILD_TYPE=Release ^
More? More? -DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake ^
More? More? -S . -B build
-- Windows: setting CMAKE_OBJECT_PATH_MAX to 260
-- Found LLVM 11.0.0
-- Using LLVMConfig.cmake in: D:/vcpkg/llvm-project/build/lib/cmake/llvm
-- Enabling AArch64 backend
-- Enabling AMDGPU backend
-- Enabling ARM backend
-- Enabling Hexagon backend
-- Enabling Mips backend
-- Enabling NVPTX backend
-- Enabling PowerPC backend
-- Enabling RISCV backend
-- Enabling WebAssembly backend
-- Enabling X86 backend
-- Compiling Halide WITHOUT RTTI.
-- Compiling Halide WITH exceptions.
-- Building autoschedulers enabled
-- Building tests enabled
-- Building Python bindings disabled
-- Building tutorials enabled
-- Building docs disabled
-- Building utils enabled
-- Configuring done
CMake Error in dependencies/llvm/CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "lldWasm" configuration
"Release".

CMake Error in dependencies/llvm/CMakeLists.txt:
Target "Halide_LLVM" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"D:/Halide/dependencies/llvm/"

which is prefixed in the source directory.

CMake Error in dependencies/llvm/CMakeLists.txt:
Target "Halide_LLVM" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"D:/Halide/dependencies/llvm/"

which is prefixed in the source directory.

-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.

@dkurt
Copy link
Contributor

dkurt commented Feb 6, 2023

resolved by #6519

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants