CMake Error at /build_native_igc/IGC/llvm/src/cmake/modules/AddLLVM.cmake:497 (add_library):
add_library cannot create target "LLVMSPIRVLib" because an imported target
with the same name already exists.
Call Stack (most recent call first):
/build_native_igc/IGC/llvm/src/cmake/modules/AddLLVM.cmake:708 (llvm_add_library)
lib/SPIRV/CMakeLists.txt:1 (add_llvm_library)
CMake Error at /build_native_igc/IGC/llvm/src/cmake/modules/AddLLVM.cmake:615 (target_link_libraries):
Cannot specify link libraries for target "LLVMSPIRVLib" which is not built
by this project.
Call Stack (most recent call first):
/build_native_igc/IGC/llvm/src/cmake/modules/AddLLVM.cmake:708 (llvm_add_library)
lib/SPIRV/CMakeLists.txt:1 (add_llvm_library)
-- Configuring incomplete, errors occurred!
See also "/build_native_igc/IGC/VectorCompiler/SPIRVDLL/src/SPIRVDLL_EX-build/CMakeFiles/CMakeOutput.log".
IGC/VectorCompiler/CMakeFiles/SPIRVDLL_EX.dir/build.make:126: recipe for target 'IGC/VectorCompiler/SPIRVDLL/src/SPIRVDLL_EX-stamp/SPIRVDLL_EX-configure' failed
make[2]: *** [IGC/VectorCompiler/SPIRVDLL/src/SPIRVDLL_EX-stamp/SPIRVDLL_EX-configure] Error 1
CMakeFiles/Makefile2:33400: recipe for target 'IGC/VectorCompiler/CMakeFiles/SPIRVDLL_EX.dir/all' failed
make[1]: *** [IGC/VectorCompiler/CMakeFiles/SPIRVDLL_EX.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Building IGC from source:
error: