Skip to content

Instantly share code, notes, and snippets.

@wangkuiyi
Last active January 5, 2023 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wangkuiyi/0b37a810e377ab5d182548c7ed7867a9 to your computer and use it in GitHub Desktop.
Save wangkuiyi/0b37a810e377ab5d182548c7ed7867a9 to your computer and use it in GitHub Desktop.
CMake configuration errors from IREE
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- The C compiler identification is AppleClang 14.0.0.14000029
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No build type selected, default to Release
-- IREE HAL drivers:
-- - local-sync
-- - local-task
-- IREE HAL local executable library loaders:
-- - embedded-elf
-- - system-library
-- - vmvx-module
-- Found Python3: /Users/y/miniforge3/bin/python3.9 (found version "3.9.13") found components: Interpreter
-- Looking for PyYAML - found
-- Found Git: /usr/bin/git (found version "2.37.1 (Apple Git-137.1)")
-- Not adding LLVM/MLIR because the configuration does not require it
-- Found Python: /Users/y/miniforge3/bin/python3.9 (found version "3.9.13") found components: Interpreter
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- git version: v1.7.1-4-gda652a74 normalized to 1.7.1.4
-- Version: 1.7.1.4
-- Looking for shm_open in rt
-- Looking for shm_open in rt - not found
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_WERROR
-- Performing Test HAVE_CXX_FLAG_WERROR - Success
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success
-- Enabling additional flags: -DINCLUDE_DIRECTORIES=/Users/y/w/iree/third_party/benchmark/include
-- Cross-compiling to test HAVE_THREAD_SAFETY_ATTRIBUTES
CMake Warning at third_party/benchmark/cmake/CXXFeatureCheck.cmake:49 (message):
If you see build failures due to cross compilation, try setting
HAVE_THREAD_SAFETY_ATTRIBUTES to 0
Call Stack (most recent call first):
third_party/benchmark/CMakeLists.txt:234 (cxx_feature_check)
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- success
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Cross-compiling to test HAVE_STD_REGEX
CMake Warning at third_party/benchmark/cmake/CXXFeatureCheck.cmake:49 (message):
If you see build failures due to cross compilation, try setting
HAVE_STD_REGEX to 0
Call Stack (most recent call first):
third_party/benchmark/CMakeLists.txt:312 (cxx_feature_check)
-- Performing Test HAVE_STD_REGEX -- success
-- Cross-compiling to test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Cross-compiling to test HAVE_POSIX_REGEX
CMake Warning at third_party/benchmark/cmake/CXXFeatureCheck.cmake:49 (message):
If you see build failures due to cross compilation, try setting
HAVE_POSIX_REGEX to 0
Call Stack (most recent call first):
third_party/benchmark/CMakeLists.txt:314 (cxx_feature_check)
-- Performing Test HAVE_POSIX_REGEX -- success
-- Cross-compiling to test HAVE_STEADY_CLOCK
CMake Warning at third_party/benchmark/cmake/CXXFeatureCheck.cmake:49 (message):
If you see build failures due to cross compilation, try setting
HAVE_STEADY_CLOCK to 0
Call Stack (most recent call first):
third_party/benchmark/CMakeLists.txt:323 (cxx_feature_check)
-- Performing Test HAVE_STEADY_CLOCK -- success
CMake Error at third_party/cpuinfo/CMakeLists.txt:794 (INSTALL):
INSTALL TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "isa-info".
CMake Error at third_party/cpuinfo/CMakeLists.txt:800 (INSTALL):
INSTALL TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "cpu-info".
CMake Error at third_party/cpuinfo/CMakeLists.txt:806 (INSTALL):
INSTALL TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "cache-info".
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target
"iree_tests_e2e_models_mnist_fake_weights_llvm_cpu_static_bytecode_test_run".
Call Stack (most recent call first):
build_tools/cmake/iree_static_linker_test.cmake:235 (iree_cc_binary)
tests/e2e/models/CMakeLists.txt:91 (iree_static_linker_test)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target
"iree_tests_e2e_models_mnist_fake_weights_llvm_cpu_static_c_test_run".
Call Stack (most recent call first):
build_tools/cmake/iree_static_linker_test.cmake:235 (iree_cc_binary)
tests/e2e/models/CMakeLists.txt:106 (iree_static_linker_test)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target
"iree_tests_e2e_models_simple_mul_llvm_cpu_static_bytecode_test_run".
Call Stack (most recent call first):
build_tools/cmake/iree_static_linker_test.cmake:235 (iree_cc_binary)
tests/e2e/models/CMakeLists.txt:123 (iree_static_linker_test)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_tests_e2e_models_simple_mul_llvm_cpu_static_c_test_run".
Call Stack (most recent call first):
build_tools/cmake/iree_static_linker_test.cmake:235 (iree_cc_binary)
tests/e2e/models/CMakeLists.txt:136 (iree_static_linker_test)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree-benchmark-module".
Call Stack (most recent call first):
tools/CMakeLists.txt:42 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree-benchmark-trace".
Call Stack (most recent call first):
tools/CMakeLists.txt:60 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree-check-module".
Call Stack (most recent call first):
tools/CMakeLists.txt:81 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree-dump-module".
Call Stack (most recent call first):
tools/CMakeLists.txt:103 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree-run-module".
Call Stack (most recent call first):
tools/CMakeLists.txt:117 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree-run-trace".
Call Stack (most recent call first):
tools/CMakeLists.txt:135 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree-e2e-matmul-test".
Call Stack (most recent call first):
tools/CMakeLists.txt:154 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_base_internal_flags_demo".
Call Stack (most recent call first):
runtime/src/iree/base/internal/CMakeLists.txt:174 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_base_internal_fpu_state_benchmark".
Call Stack (most recent call first):
build_tools/cmake/iree_cc_binary_benchmark.cmake:56 (iree_cc_binary)
runtime/src/iree/base/internal/CMakeLists.txt:210 (iree_cc_binary_benchmark)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_base_internal_synchronization_benchmark".
Call Stack (most recent call first):
build_tools/cmake/iree_cc_binary_benchmark.cmake:56 (iree_cc_binary)
runtime/src/iree/base/internal/CMakeLists.txt:322 (iree_cc_binary_benchmark)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_builtins_device_tools_libdevice_benchmark".
Call Stack (most recent call first):
build_tools/cmake/iree_cc_binary_benchmark.cmake:56 (iree_cc_binary)
runtime/src/iree/builtins/device/tools/CMakeLists.txt:13 (iree_cc_binary_benchmark)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_builtins_ukernel_tools_mmt4d_benchmark".
Call Stack (most recent call first):
build_tools/cmake/iree_cc_binary_benchmark.cmake:56 (iree_cc_binary)
runtime/src/iree/builtins/ukernel/tools/CMakeLists.txt:27 (iree_cc_binary_benchmark)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_builtins_ukernel_tools_pack_benchmark".
Call Stack (most recent call first):
build_tools/cmake/iree_cc_binary_benchmark.cmake:56 (iree_cc_binary)
runtime/src/iree/builtins/ukernel/tools/CMakeLists.txt:56 (iree_cc_binary_benchmark)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_hal_local_elf_elf_module_test_binary".
Call Stack (most recent call first):
runtime/src/iree/hal/local/elf/CMakeLists.txt:35 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_hal_local_executable_library_benchmark".
Call Stack (most recent call first):
build_tools/cmake/iree_cc_binary_benchmark.cmake:56 (iree_cc_binary)
runtime/src/iree/hal/local/CMakeLists.txt:39 (iree_cc_binary_benchmark)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_hal_utils_resource_set_benchmark".
Call Stack (most recent call first):
build_tools/cmake/iree_cc_binary_benchmark.cmake:56 (iree_cc_binary)
runtime/src/iree/hal/utils/CMakeLists.txt:74 (iree_cc_binary_benchmark)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_runtime_demo_hello_world_file".
Call Stack (most recent call first):
runtime/src/iree/runtime/demo/CMakeLists.txt:4 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_vm_native_module_benchmark".
Call Stack (most recent call first):
build_tools/cmake/iree_cc_binary_benchmark.cmake:56 (iree_cc_binary)
runtime/src/iree/vm/CMakeLists.txt:125 (iree_cc_binary_benchmark)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_samples_simple_embedding_simple_embedding_vmvx_sync".
Call Stack (most recent call first):
samples/simple_embedding/CMakeLists.txt:16 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_samples_simple_embedding_simple_embedding_embedded_sync".
Call Stack (most recent call first):
samples/simple_embedding/CMakeLists.txt:58 (iree_cc_binary)
CMake Error at build_tools/cmake/iree_cc_binary.cmake:151 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "iree_samples_simple_embedding_simple_embedding_embedded".
Call Stack (most recent call first):
samples/simple_embedding/CMakeLists.txt:176 (iree_cc_binary)
-- Configuring incomplete, errors occurred!
See also "/Users/y/w/iree-build-ios/CMakeFiles/CMakeOutput.log".
See also "/Users/y/w/iree-build-ios/CMakeFiles/CMakeError.log".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment