You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure what the minimum should be but 3.16 is too low
cmake .. -DCMAKE_PREFIX_PATH=~/local -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_INSTALL_PREFIX=/home/ptu1/packages
-- Using llvm-config: /home/ptu1/packages/bin/llvm-config
-- Using llvm-link: /home/ptu1/packages/bin/llvm-link
-- Using llvm-spirv: /home/ptu1/packages/bin/llvm-spirv
-- Using clang-offload-bundler: /home/ptu1/packages/bin/clang-offload-bundler
-- OpenCL_LIBRARY: /soft/libraries/khronos/loader/master-2022.05.18/lib64/libOpenCL.so
-- LevelZero_LIBRARY: /soft/restricted/CNDA/emb/libraries/intel-level-zero/api_+_loader/20220711.1/lib64/libze_loader.so
-- Buiding CHIP-SPV as a shared library
-- CHIP-SPV will be installed to: /home/ptu1/packages
-- LLVM CMake directory: /home/ptu1/packages/lib/cmake/llvm
-- LLVM built with static libraries -> adding workaround for issue #102
CMake Error at llvm_passes/CMakeLists.txt:69 (get_target_property):
get_target_property called with incorrect number of arguments
-- libLLVMCore CONFIG: DEBUG;RELEASE
-- libLLVMCore PATH:
ar: No such file or directory
CMake Error at llvm_passes/CMakeLists.txt:77 (message):
ar command on failed
-- Configuring incomplete, errors occurred!
See also "/home/ptu1/workspace/chip-spv/build/CMakeFiles/CMakeOutput.log".
See also "/home/ptu1/workspace/chip-spv/build/CMakeFiles/CMakeError.log".
The text was updated successfully, but these errors were encountered:
pvelesko
changed the title
CMake minimum too low
CMake failing when 'ar' is not found
Sep 8, 2022
pvelesko
changed the title
CMake failing when 'ar' is not found
CMake failing when libLLVMCore CONFIG has multiple values such as DEBUG;RELEASESep 9, 2022
When there are multiple values such as DEBUG;RELEASE, RELEASE becomes an additional argument causing get_target_property called with incorrect number of arguments error
Not sure what the minimum should be but 3.16 is too low
The text was updated successfully, but these errors were encountered: