I can build for android platform with only nnapi. But when I use the SNPE platform for my build, the error are listed below:
Finished fetching external dependencies
-- Looking for SNPE library in /opt/qcom/aistack/snpe/2.18.0.240101/lib/aarch64-android-clang6.0
CMake Error at external/find_snpe.cmake:28 (find_library):
Could not find SNPE using the following names: snpe, SNPE, libSNPE.so
Call Stack (most recent call first):
external/onnxruntime_external_deps.cmake:564 (include)
CMakeLists.txt:576 (include)
my SNPE library only have /opt/qcom/aistack/snpe/2.18.0.240101/lib/aarch64-android dictionary.
I also tried to rename the dictionary as /opt/qcom/aistack/snpe/2.18.0.240101/lib/aarch64-android-clang6.0, but the building process are still stucked
why I can't use the SNPE library for building process?
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is Clang 17.0.2
-- The CXX compiler identification is Clang 17.0.2
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /home/marcus/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/marcus/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang - 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: /home/marcus/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORT_MF16C
-- Performing Test COMPILER_SUPPORT_MF16C - Success
-- Performing Test COMPILER_SUPPORT_FMA
-- Performing Test COMPILER_SUPPORT_FMA - Success
-- Performing Test COMPILER_SUPPORT_AVX
-- Performing Test COMPILER_SUPPORT_AVX - Success
Building ONNX Runtime for aarch64 CPU ARCH
-- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS
-- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Found Patch: /usr/bin/patch
Patch found: /usr/bin/patch
Doing crosscompiling
Loading Dependencies URLs ...
Loading Dependencies ...
-- Populating abseil_cpp
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-subbuild
[ 11%] Creating directories for 'abseil_cpp-populate'
[ 22%] Performing download step (download, verify and extract) for 'abseil_cpp-populate'
-- Downloading...
dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/20240116.0.zip'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/abseil/abseil-cpp/archive/refs/tags/20240116.0.zip'
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 15% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 24% complete]
-- [download 28% complete]
-- [download 33% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 48% complete]
-- [download 52% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 57% complete]
-- [download 59% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 68% complete]
-- [download 71% complete]
-- [download 75% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 84% complete]
-- [download 88% complete]
-- [download 90% complete]
-- [download 94% complete]
-- [download 98% complete]
-- [download 100% complete]
-- verifying file...
file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/20240116.0.zip'
-- Downloading... done
-- extracting...
src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/20240116.0.zip'
dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-src'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 33%] No update step for 'abseil_cpp-populate'
[ 44%] No patch step for 'abseil_cpp-populate'
[ 55%] No configure step for 'abseil_cpp-populate'
[ 66%] No build step for 'abseil_cpp-populate'
[ 77%] No install step for 'abseil_cpp-populate'
[ 88%] No test step for 'abseil_cpp-populate'
[100%] Completed 'abseil_cpp-populate'
[100%] Built target abseil_cpp-populate
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17 - Success
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20 - Failed
-- Abseil source dir:/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-src
CMAKE_HOST_SYSTEM_NAME: Linux
-- Populating protoc_binary
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protoc_binary-subbuild
[ 11%] Creating directories for 'protoc_binary-populate'
[ 22%] Performing download step (download, verify and extract) for 'protoc_binary-populate'
-- Downloading...
dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protoc_binary-subbuild/protoc_binary-populate-prefix/src/protoc-21.12-linux-x86_64.zip'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip'
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 7% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 13% complete]
-- [download 15% complete]
-- [download 19% complete]
-- [download 21% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 26% complete]
-- [download 29% complete]
-- [download 31% complete]
-- [download 33% complete]
-- [download 35% complete]
-- [download 55% complete]
-- [download 60% complete]
-- [download 69% complete]
-- [download 80% complete]
-- [download 92% complete]
-- [download 100% complete]
-- verifying file...
file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protoc_binary-subbuild/protoc_binary-populate-prefix/src/protoc-21.12-linux-x86_64.zip'
-- Downloading... done
-- extracting...
src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protoc_binary-subbuild/protoc_binary-populate-prefix/src/protoc-21.12-linux-x86_64.zip'
dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protoc_binary-src'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 33%] No update step for 'protoc_binary-populate'
[ 44%] No patch step for 'protoc_binary-populate'
[ 55%] No configure step for 'protoc_binary-populate'
[ 66%] No build step for 'protoc_binary-populate'
[ 77%] No install step for 'protoc_binary-populate'
[ 88%] No test step for 'protoc_binary-populate'
[100%] Completed 'protoc_binary-populate'
[100%] Built target protoc_binary-populate
Use prebuilt protoc
-- Populating date
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/date-subbuild
[ 11%] Creating directories for 'date-populate'
[ 22%] Performing download step (download, verify and extract) for 'date-populate'
-- Downloading...
dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/date-subbuild/date-populate-prefix/src/v3.0.1.zip'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/HowardHinnant/date/archive/refs/tags/v3.0.1.zip'
-- [download 2% complete]
-- [download 4% complete]
-- [download 6% complete]
-- [download 10% complete]
-- [download 13% complete]
-- [download 18% complete]
-- [download 22% complete]
-- [download 24% complete]
-- [download 32% complete]
-- [download 41% complete]
-- [download 55% complete]
-- [download 59% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 71% complete]
-- [download 79% complete]
-- [download 86% complete]
-- [download 91% complete]
-- [download 95% complete]
-- [download 99% complete]
-- [download 100% complete]
-- verifying file...
file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/date-subbuild/date-populate-prefix/src/v3.0.1.zip'
-- Downloading... done
-- extracting...
src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/date-subbuild/date-populate-prefix/src/v3.0.1.zip'
dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/date-src'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 33%] No update step for 'date-populate'
[ 44%] No patch step for 'date-populate'
[ 55%] No configure step for 'date-populate'
[ 66%] No build step for 'date-populate'
[ 77%] No install step for 'date-populate'
[ 88%] No test step for 'date-populate'
[100%] Completed 'date-populate'
[100%] Built target date-populate
Describe the issue
I can build for android platform with only nnapi. But when I use the SNPE platform for my build, the error are listed below:
Finished fetching external dependencies -- Looking for SNPE library in /opt/qcom/aistack/snpe/2.18.0.240101/lib/aarch64-android-clang6.0 CMake Error at external/find_snpe.cmake:28 (find_library): Could not find SNPE using the following names: snpe, SNPE, libSNPE.so Call Stack (most recent call first): external/onnxruntime_external_deps.cmake:564 (include) CMakeLists.txt:576 (include)
my SNPE library only have /opt/qcom/aistack/snpe/2.18.0.240101/lib/aarch64-android dictionary. I also tried to rename the dictionary as /opt/qcom/aistack/snpe/2.18.0.240101/lib/aarch64-android-clang6.0, but the building process are still stucked
why I can't use the SNPE library for building process?
Urgency
No response
Target platform
mobile
Build script
./build.sh --android --android_sdk_path /home/marcus/Android/Sdk --android_ndk_path /home/marcus/Android/Sdk/ndk/26.1.10909125 --android_abi arm64-v8a --android_api 30 --use_nnapi --use_snpe --snpe_root /opt/qcom/aistack/snpe/2.18.0.240101/
Error / output
2024-02-02 14:15:07,521 tools_python_utils [INFO] - flatbuffers module is not installed. parse_config will not be available 2024-02-02 14:15:10,489 build [DEBUG] - Command line arguments: --build_dir /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android --android --android_sdk_path /home/marcus/Android/Sdk --android_ndk_path /home/marcus/Android/Sdk/ndk/26.1.10909125 --android_abi arm64-v8a --android_api 30 --use_nnapi --use_snpe --snpe_root /opt/qcom/aistack/snpe/2.18.0.240101/ Namespace(build_dir='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android', config=['Debug'], update=False, build=False, clean=False, parallel=1, nvcc_threads=-1, test=False, skip_tests=False, compile_no_warning_as_error=False, enable_nvtx_profile=False, enable_memory_profile=False, enable_training=False, enable_training_apis=False, enable_training_ops=False, enable_nccl=False, mpi_home=None, nccl_home=None, use_mpi=False, enable_onnx_tests=False, path_to_protoc_exe=None, fuzz_testing=False, enable_symbolic_shape_infer_tests=False, gen_doc=None, gen_api_doc=False, use_cuda=False, cuda_version=None, cuda_home=None, cudnn_home=None, enable_cuda_line_info=False, enable_cuda_nhwc_ops=False, enable_pybind=False, build_wheel=False, wheel_name_suffix=None, numpy_version=None, skip_keras_test=False, build_csharp=False, build_nuget=False, msbuild_extra_options=None, build_java=False, build_nodejs=False, build_objc=False, build_shared_lib=False, build_apple_framework=False, cmake_extra_defines=None, target=None, x86=False, rv64=False, arm=False, arm64=False, arm64ec=False, buildasx=False, riscv_toolchain_root='', riscv_qemu_path='', msvc_toolset=None, windows_sdk_version=None, android=True, android_abi='arm64-v8a', android_api=30, android_sdk_path='/home/marcus/Android/Sdk', android_ndk_path='/home/marcus/Android/Sdk/ndk/26.1.10909125', android_cpp_shared=False, android_run_emulator=False, use_gdk=False, gdk_edition='.', gdk_platform='Scarlett', ios=False, apple_sysroot='', ios_toolchain_file='', xcode_code_signing_team_id='', xcode_code_signing_identity='', cmake_generator=None, osx_arch='x86_64', apple_deploy_target=None, enable_address_sanitizer=False, use_binskim_compliant_compile_flags=False, disable_memleak_checker=False, build_wasm=False, build_wasm_static_lib=False, emsdk_version='3.1.51', enable_wasm_simd=False, enable_wasm_threads=False, disable_wasm_exception_catching=False, enable_wasm_api_exception_catching=False, enable_wasm_exception_throwing_override=True, wasm_run_tests_in_browser=False, enable_wasm_profiling=False, enable_wasm_debug_info=False, wasm_malloc=None, emscripten_settings=None, use_extensions=False, extensions_overridden_path=None, cmake_path='cmake', ctest_path='ctest', skip_submodule_sync=False, use_mimalloc=False, use_dnnl=False, dnnl_gpu_runtime='', dnnl_opencl_root='', use_openvino=None, dnnl_aarch64_runtime='', dnnl_acl_root='', use_coreml=False, use_webnn=False, use_snpe=True, snpe_root='/opt/qcom/aistack/snpe/2.18.0.240101/', use_nnapi=True, nnapi_min_api=None, use_jsep=False, use_qnn=False, qnn_home=None, use_rknpu=False, use_preinstalled_eigen=False, eigen_path=None, enable_msinternal=False, llvm_path=None, use_vitisai=False, use_tvm=False, tvm_cuda_runtime=False, use_tvm_hash=False, use_tensorrt=False, use_tensorrt_builtin_parser=True, use_tensorrt_oss_parser=False, tensorrt_home=None, test_all_timeout='10800', use_migraphx=False, migraphx_home=None, use_full_protobuf=False, llvm_config='', skip_onnx_tests=False, skip_winml_tests=False, skip_nodejs_tests=False, enable_msvc_static_runtime=False, enable_language_interop_ops=False, use_dml=False, dml_path='', use_winml=False, winml_root_namespace_override=None, dml_external_project=False, use_telemetry=False, enable_wcos=False, enable_lto=False, enable_transformers_tool_test=False, use_acl=None, acl_home=None, acl_libs=None, use_armnn=False, armnn_relu=False, armnn_bn=False, armnn_home=None, armnn_libs=None, build_micro_benchmarks=False, minimal_build=None, include_ops_by_config=None, enable_reduced_operator_type_support=False, disable_contrib_ops=False, disable_ml_ops=False, disable_rtti=False, disable_types=[], disable_exceptions=False, rocm_version=None, use_rocm=False, rocm_home=None, code_coverage=False, enable_lazy_tensor=False, ms_experimental=False, enable_external_custom_op_schemas=False, external_graph_transformer_path=None, enable_cuda_profiling=False, use_cann=False, cann_home=None, enable_rocm_profiling=False, use_xnnpack=False, use_azure=False, use_cache=False, use_triton_kernel=False, use_lock_free_queue=False, allow_running_as_root=False) 2024-02-02 14:15:10,492 build [DEBUG] - Defaulting to running update, build [and test for native builds]. 2024-02-02 14:15:10,493 build [INFO] - Build started 2024-02-02 14:15:10,493 build [INFO] - git submodule sync --recursive 2024-02-02 14:15:10,518 build [INFO] - git submodule update --init --recursive 子模组 'cmake/external/emsdk'(https://github.com/emscripten-core/emsdk.git)已对路径 'cmake/external/emsdk' 注册 子模组 'cmake/external/libprotobuf-mutator'(https://github.com/google/libprotobuf-mutator.git)已对路径 'cmake/external/libprotobuf-mutator' 注册 子模组 'cmake/external/onnx'(https://github.com/onnx/onnx.git)已对路径 'cmake/external/onnx' 注册 正克隆到 '/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/cmake/external/emsdk'... 正克隆到 '/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/cmake/external/libprotobuf-mutator'... 正克隆到 '/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/cmake/external/onnx'... 子模组路径 'cmake/external/emsdk':检出 '4e2496141eda15040c44e9bbf237a1326368e34c' 子模组路径 'cmake/external/libprotobuf-mutator':检出 '7a2ed51a6b682a83e345ff49fc4cfd7ca47550db' 子模组路径 'cmake/external/onnx':检出 'b86cc54efce19530fb953e4b21f57e6b3888534c' 子模组 'third_party/benchmark'(https://github.com/google/benchmark.git)已对路径 'cmake/external/onnx/third_party/benchmark' 注册 子模组 'third_party/pybind11'(https://github.com/pybind/pybind11.git)已对路径 'cmake/external/onnx/third_party/pybind11' 注册 正克隆到 '/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/cmake/external/onnx/third_party/benchmark'... 正克隆到 '/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/cmake/external/onnx/third_party/pybind11'... 子模组路径 'cmake/external/onnx/third_party/benchmark':检出 '2dd015dfef425c866d9a43f2c67d8b52d709acb6' 子模组路径 'cmake/external/onnx/third_party/pybind11':检出 '5b0a6fc2017fcc176545afe3e09c9f9885283242' 2024-02-02 14:15:27,522 build [INFO] - Generating CMake build tree 2024-02-02 14:15:27,522 build [INFO] - /home/marcus/.local/bin/cmake /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/cmake -Donnxruntime_RUN_ONNX_TESTS=OFF -Donnxruntime_GENERATE_TEST_REPORTS=ON -DPython_EXECUTABLE=/usr/bin/python3 -DPYTHON_EXECUTABLE=/usr/bin/python3 -Donnxruntime_USE_MIMALLOC=OFF -Donnxruntime_ENABLE_PYTHON=OFF -Donnxruntime_BUILD_CSHARP=OFF -Donnxruntime_BUILD_JAVA=OFF -Donnxruntime_BUILD_NODEJS=OFF -Donnxruntime_BUILD_OBJC=OFF -Donnxruntime_BUILD_SHARED_LIB=OFF -Donnxruntime_BUILD_APPLE_FRAMEWORK=OFF -Donnxruntime_USE_DNNL=OFF -Donnxruntime_USE_NNAPI_BUILTIN=ON -Donnxruntime_USE_RKNPU=OFF -Donnxruntime_USE_LLVM=OFF -Donnxruntime_ENABLE_MICROSOFT_INTERNAL=OFF -Donnxruntime_USE_VITISAI=OFF -Donnxruntime_USE_TENSORRT=OFF -Donnxruntime_USE_TENSORRT_BUILTIN_PARSER=ON -Donnxruntime_USE_TVM=OFF -Donnxruntime_TVM_CUDA_RUNTIME=OFF -Donnxruntime_TVM_USE_HASH=OFF -Donnxruntime_USE_MIGRAPHX=OFF -Donnxruntime_DISABLE_CONTRIB_OPS=OFF -Donnxruntime_DISABLE_ML_OPS=OFF -Donnxruntime_DISABLE_RTTI=OFF -Donnxruntime_DISABLE_EXCEPTIONS=OFF -Donnxruntime_MINIMAL_BUILD=OFF -Donnxruntime_EXTENDED_MINIMAL_BUILD=OFF -Donnxruntime_MINIMAL_BUILD_CUSTOM_OPS=OFF -Donnxruntime_REDUCED_OPS_BUILD=OFF -Donnxruntime_ENABLE_LANGUAGE_INTEROP_OPS=OFF -Donnxruntime_USE_DML=OFF -Donnxruntime_USE_WINML=OFF -Donnxruntime_BUILD_MS_EXPERIMENTAL_OPS=OFF -Donnxruntime_USE_TELEMETRY=OFF -Donnxruntime_ENABLE_LTO=OFF -Donnxruntime_USE_ACL=OFF -Donnxruntime_USE_ACL_1902=OFF -Donnxruntime_USE_ACL_1905=OFF -Donnxruntime_USE_ACL_1908=OFF -Donnxruntime_USE_ACL_2002=OFF -Donnxruntime_USE_ACL_2308=OFF -Donnxruntime_USE_ARMNN=OFF -Donnxruntime_ARMNN_RELU_USE_CPU=ON -Donnxruntime_ARMNN_BN_USE_CPU=ON -Donnxruntime_USE_JSEP=OFF -Donnxruntime_ENABLE_NVTX_PROFILE=OFF -Donnxruntime_ENABLE_TRAINING=OFF -Donnxruntime_ENABLE_TRAINING_OPS=OFF -Donnxruntime_ENABLE_TRAINING_APIS=OFF -Donnxruntime_ENABLE_CPU_FP16_OPS=OFF -Donnxruntime_USE_NCCL=OFF -Donnxruntime_BUILD_BENCHMARKS=OFF -Donnxruntime_USE_ROCM=OFF -DOnnxruntime_GCOV_COVERAGE=OFF -Donnxruntime_USE_MPI=OFF -Donnxruntime_ENABLE_MEMORY_PROFILE=OFF -Donnxruntime_ENABLE_CUDA_LINE_NUMBER_INFO=OFF -Donnxruntime_USE_CUDA_NHWC_OPS=OFF -Donnxruntime_BUILD_WEBASSEMBLY_STATIC_LIB=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_CATCHING=ON -Donnxruntime_ENABLE_WEBASSEMBLY_API_EXCEPTION_CATCHING=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_THROWING=ON -Donnxruntime_WEBASSEMBLY_RUN_TESTS_IN_BROWSER=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_THREADS=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_DEBUG_INFO=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_PROFILING=OFF -Donnxruntime_ENABLE_LAZY_TENSOR=OFF -Donnxruntime_ENABLE_EXTERNAL_CUSTOM_OP_SCHEMAS=OFF -Donnxruntime_ENABLE_CUDA_PROFILING=OFF -Donnxruntime_ENABLE_ROCM_PROFILING=OFF -Donnxruntime_USE_XNNPACK=OFF -Donnxruntime_USE_WEBNN=OFF -Donnxruntime_USE_CANN=OFF -Donnxruntime_USE_TRITON_KERNEL=OFF -Donnxruntime_DISABLE_FLOAT8_TYPES=ON -Donnxruntime_DISABLE_SPARSE_TENSORS=OFF -Donnxruntime_DISABLE_OPTIONAL_TYPE=OFF -DSNPE_ROOT=/opt/qcom/aistack/snpe/2.18.0.240101/ -DCMAKE_TOOLCHAIN_FILE=/home/marcus/Android/Sdk/ndk/26.1.10909125/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-30 -DANDROID_ABI=arm64-v8a -DANDROID_MIN_SDK=30 -Donnxruntime_USE_SNPE=ON -DCMAKE_TLS_VERIFY=ON -DFETCHCONTENT_QUIET=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/installed CMake Deprecation Warning at CMakeLists.txt:14 (cmake_policy): The OLD behavior for policy CMP0104 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
-- The C compiler identification is Clang 17.0.2 -- The CXX compiler identification is Clang 17.0.2 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /home/marcus/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/marcus/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang - 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: /home/marcus/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test COMPILER_SUPPORT_MF16C -- Performing Test COMPILER_SUPPORT_MF16C - Success -- Performing Test COMPILER_SUPPORT_FMA -- Performing Test COMPILER_SUPPORT_FMA - Success -- Performing Test COMPILER_SUPPORT_AVX -- Performing Test COMPILER_SUPPORT_AVX - Success Building ONNX Runtime for aarch64 CPU ARCH -- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS -- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS - Success -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE
-- Found Patch: /usr/bin/patch
Patch found: /usr/bin/patch Doing crosscompiling Loading Dependencies URLs ... Loading Dependencies ... -- Populating abseil_cpp -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-subbuild [ 11%] Creating directories for 'abseil_cpp-populate' [ 22%] Performing download step (download, verify and extract) for 'abseil_cpp-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/20240116.0.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/abseil/abseil-cpp/archive/refs/tags/20240116.0.zip' -- [download 1% complete] -- [download 2% complete] -- [download 3% complete] -- [download 4% complete] -- [download 5% complete] -- [download 6% complete] -- [download 7% complete] -- [download 8% complete] -- [download 9% complete] -- [download 10% complete] -- [download 11% complete] -- [download 12% complete] -- [download 13% complete] -- [download 15% complete] -- [download 19% complete] -- [download 20% complete] -- [download 21% complete] -- [download 24% complete] -- [download 28% complete] -- [download 33% complete] -- [download 37% complete] -- [download 38% complete] -- [download 42% complete] -- [download 43% complete] -- [download 48% complete] -- [download 52% complete] -- [download 54% complete] -- [download 55% complete] -- [download 57% complete] -- [download 59% complete] -- [download 63% complete] -- [download 64% complete] -- [download 65% complete] -- [download 68% complete] -- [download 71% complete] -- [download 75% complete] -- [download 79% complete] -- [download 80% complete] -- [download 84% complete] -- [download 88% complete] -- [download 90% complete] -- [download 94% complete] -- [download 98% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/20240116.0.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-subbuild/abseil_cpp-populate-prefix/src/20240116.0.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'abseil_cpp-populate' [ 44%] No patch step for 'abseil_cpp-populate' [ 55%] No configure step for 'abseil_cpp-populate' [ 66%] No build step for 'abseil_cpp-populate' [ 77%] No install step for 'abseil_cpp-populate' [ 88%] No test step for 'abseil_cpp-populate' [100%] Completed 'abseil_cpp-populate' [100%] Built target abseil_cpp-populate -- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17 -- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17 - Success -- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20 -- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20 - Failed -- Abseil source dir:/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/abseil_cpp-src CMAKE_HOST_SYSTEM_NAME: Linux -- Populating protoc_binary -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protoc_binary-subbuild [ 11%] Creating directories for 'protoc_binary-populate' [ 22%] Performing download step (download, verify and extract) for 'protoc_binary-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protoc_binary-subbuild/protoc_binary-populate-prefix/src/protoc-21.12-linux-x86_64.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip' -- [download 2% complete] -- [download 3% complete] -- [download 4% complete] -- [download 7% complete] -- [download 9% complete] -- [download 10% complete] -- [download 11% complete] -- [download 13% complete] -- [download 15% complete] -- [download 19% complete] -- [download 21% complete] -- [download 23% complete] -- [download 24% complete] -- [download 26% complete] -- [download 29% complete] -- [download 31% complete] -- [download 33% complete] -- [download 35% complete] -- [download 55% complete] -- [download 60% complete] -- [download 69% complete] -- [download 80% complete] -- [download 92% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protoc_binary-subbuild/protoc_binary-populate-prefix/src/protoc-21.12-linux-x86_64.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protoc_binary-subbuild/protoc_binary-populate-prefix/src/protoc-21.12-linux-x86_64.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protoc_binary-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'protoc_binary-populate' [ 44%] No patch step for 'protoc_binary-populate' [ 55%] No configure step for 'protoc_binary-populate' [ 66%] No build step for 'protoc_binary-populate' [ 77%] No install step for 'protoc_binary-populate' [ 88%] No test step for 'protoc_binary-populate' [100%] Completed 'protoc_binary-populate' [100%] Built target protoc_binary-populate Use prebuilt protoc -- Populating date -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/date-subbuild [ 11%] Creating directories for 'date-populate' [ 22%] Performing download step (download, verify and extract) for 'date-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/date-subbuild/date-populate-prefix/src/v3.0.1.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/HowardHinnant/date/archive/refs/tags/v3.0.1.zip' -- [download 2% complete] -- [download 4% complete] -- [download 6% complete] -- [download 10% complete] -- [download 13% complete] -- [download 18% complete] -- [download 22% complete] -- [download 24% complete] -- [download 32% complete] -- [download 41% complete] -- [download 55% complete] -- [download 59% complete] -- [download 65% complete] -- [download 66% complete] -- [download 71% complete] -- [download 79% complete] -- [download 86% complete] -- [download 91% complete] -- [download 95% complete] -- [download 99% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/date-subbuild/date-populate-prefix/src/v3.0.1.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/date-subbuild/date-populate-prefix/src/v3.0.1.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/date-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'date-populate' [ 44%] No patch step for 'date-populate' [ 55%] No configure step for 'date-populate' [ 66%] No build step for 'date-populate' [ 77%] No install step for 'date-populate' [ 88%] No test step for 'date-populate' [100%] Completed 'date-populate' [100%] Built target date-populate
date: USE_SYSTEM_TZ_DB ON
date: MANUAL_TZ_DB OFF
date: USE_TZ_DB_IN_DOT OFF
date: BUILD_SHARED_LIBS OFF
date: ENABLE_DATE_TESTING OFF
date: DISABLE_STRING_VIEW OFF
-- Populating google_nsync -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/google_nsync-subbuild [ 11%] Creating directories for 'google_nsync-populate' [ 22%] Performing download step (download, verify and extract) for 'google_nsync-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/google_nsync-subbuild/google_nsync-populate-prefix/src/1.26.0.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/google/nsync/archive/refs/tags/1.26.0.zip' -- [download 17% complete] -- [download 19% complete] -- [download 30% complete] -- [download 45% complete] -- [download 54% complete] -- [download 94% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/google_nsync-subbuild/google_nsync-populate-prefix/src/1.26.0.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/google_nsync-subbuild/google_nsync-populate-prefix/src/1.26.0.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/google_nsync-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'google_nsync-populate' [ 44%] No patch step for 'google_nsync-populate' [ 55%] No configure step for 'google_nsync-populate' [ 66%] No build step for 'google_nsync-populate' [ 77%] No install step for 'google_nsync-populate' [ 88%] No test step for 'google_nsync-populate' [100%] Completed 'google_nsync-populate' [100%] Built target google_nsync-populate -- Populating safeint -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/safeint-subbuild [ 11%] Creating directories for 'safeint-populate' [ 22%] Performing download step (download, verify and extract) for 'safeint-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/safeint-subbuild/safeint-populate-prefix/src/3.0.28.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/dcleblanc/SafeInt/archive/refs/tags/3.0.28.zip' -- [download 6% complete] -- [download 7% complete] -- [download 9% complete] -- [download 15% complete] -- [download 17% complete] -- [download 19% complete] -- [download 22% complete] -- [download 29% complete] -- [download 34% complete] -- [download 39% complete] -- [download 44% complete] -- [download 54% complete] -- [download 69% complete] -- [download 84% complete] -- [download 94% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/safeint-subbuild/safeint-populate-prefix/src/3.0.28.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/safeint-subbuild/safeint-populate-prefix/src/3.0.28.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/safeint-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'safeint-populate' [ 44%] No patch step for 'safeint-populate' [ 55%] No configure step for 'safeint-populate' [ 66%] No build step for 'safeint-populate' [ 77%] No install step for 'safeint-populate' [ 88%] No test step for 'safeint-populate' [100%] Completed 'safeint-populate' [100%] Built target safeint-populate -- Populating utf8_range -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/utf8_range-subbuild [ 11%] Creating directories for 'utf8_range-populate' [ 22%] Performing download step (download, verify and extract) for 'utf8_range-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/utf8_range-subbuild/utf8_range-populate-prefix/src/72c943dea2b9240cd09efde15191e144bc7c7d38.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/protocolbuffers/utf8_range/archive/72c943dea2b9240cd09efde15191e144bc7c7d38.zip' -- [download 75% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/utf8_range-subbuild/utf8_range-populate-prefix/src/72c943dea2b9240cd09efde15191e144bc7c7d38.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/utf8_range-subbuild/utf8_range-populate-prefix/src/72c943dea2b9240cd09efde15191e144bc7c7d38.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/utf8_range-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'utf8_range-populate' [ 44%] No patch step for 'utf8_range-populate' [ 55%] No configure step for 'utf8_range-populate' [ 66%] No build step for 'utf8_range-populate' [ 77%] No install step for 'utf8_range-populate' [ 88%] No test step for 'utf8_range-populate' [100%] Completed 'utf8_range-populate' [100%] Built target utf8_range-populate -- Populating protobuf -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protobuf-subbuild [ 11%] Creating directories for 'protobuf-populate' [ 22%] Performing download step (download, verify and extract) for 'protobuf-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protobuf-subbuild/protobuf-populate-prefix/src/v21.12.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/protocolbuffers/protobuf/archive/refs/tags/v21.12.zip' -- [download 1% complete] -- [download 2% complete] -- [download 3% complete] -- [download 4% complete] -- [download 5% complete] -- [download 7% complete] -- [download 8% complete] -- [download 9% complete] -- [download 10% complete] -- [download 11% complete] -- [download 13% complete] -- [download 15% complete] -- [download 16% complete] -- [download 18% complete] -- [download 19% complete] -- [download 21% complete] -- [download 22% complete] -- [download 23% complete] -- [download 25% complete] -- [download 26% complete] -- [download 27% complete] -- [download 28% complete] -- [download 29% complete] -- [download 30% complete] -- [download 32% complete] -- [download 33% complete] -- [download 35% complete] -- [download 36% complete] -- [download 37% complete] -- [download 38% complete] -- [download 40% complete] -- [download 42% complete] -- [download 44% complete] -- [download 45% complete] -- [download 46% complete] -- [download 47% complete] -- [download 48% complete] -- [download 49% complete] -- [download 50% complete] -- [download 51% complete] -- [download 52% complete] -- [download 53% complete] -- [download 54% complete] -- [download 55% complete] -- [download 56% complete] -- [download 57% complete] -- [download 58% complete] -- [download 60% complete] -- [download 62% complete] -- [download 63% complete] -- [download 65% complete] -- [download 66% complete] -- [download 67% complete] -- [download 68% complete] -- [download 69% complete] -- [download 70% complete] -- [download 71% complete] -- [download 72% complete] -- [download 73% complete] -- [download 74% complete] -- [download 76% complete] -- [download 78% complete] -- [download 79% complete] -- [download 81% complete] -- [download 82% complete] -- [download 83% complete] -- [download 85% complete] -- [download 86% complete] -- [download 87% complete] -- [download 88% complete] -- [download 89% complete] -- [download 90% complete] -- [download 91% complete] -- [download 92% complete] -- [download 93% complete] -- [download 94% complete] -- [download 95% complete] -- [download 97% complete] -- [download 98% complete] -- [download 99% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protobuf-subbuild/protobuf-populate-prefix/src/v21.12.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protobuf-subbuild/protobuf-populate-prefix/src/v21.12.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/protobuf-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'protobuf-populate' [ 44%] Performing patch step for 'protobuf-populate' patching file CMakeLists.txt [ 55%] No configure step for 'protobuf-populate' [ 66%] No build step for 'protobuf-populate' [ 77%] No install step for 'protobuf-populate' [ 88%] No test step for 'protobuf-populate' [100%] Completed 'protobuf-populate' [100%] Built target protobuf-populate -- -- 3.21.12.0 -- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT -- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT - Success -- Performing Test protobuf_HAVE_BUILTIN_ATOMICS -- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success -- Populating nlohmann_json -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/nlohmann_json-subbuild [ 11%] Creating directories for 'nlohmann_json-populate' [ 22%] Performing download step (download, verify and extract) for 'nlohmann_json-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/nlohmann_json-subbuild/nlohmann_json-populate-prefix/src/v3.10.5.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/nlohmann/json/archive/refs/tags/v3.10.5.zip' -- [download 0% complete] -- [download 1% complete] -- [download 2% complete] -- [download 3% complete] -- [download 4% complete] -- [download 6% complete] -- [download 7% complete] -- [download 8% complete] -- [download 9% complete] -- [download 10% complete] -- [download 11% complete] -- [download 12% complete] -- [download 13% complete] -- [download 14% complete] -- [download 15% complete] -- [download 17% complete] -- [download 18% complete] -- [download 19% complete] -- [download 20% complete] -- [download 21% complete] -- [download 22% complete] -- [download 23% complete] -- [download 25% complete] -- [download 26% complete] -- [download 27% complete] -- [download 28% complete] -- [download 30% complete] -- [download 32% complete] -- [download 33% complete] -- [download 34% complete] -- [download 35% complete] -- [download 36% complete] -- [download 37% complete] -- [download 38% complete] -- [download 40% complete] -- [download 42% complete] -- [download 43% complete] -- [download 44% complete] -- [download 45% complete] -- [download 47% complete] -- [download 48% complete] -- [download 50% complete] -- [download 52% complete] -- [download 53% complete] -- [download 54% complete] -- [download 56% complete] -- [download 58% complete] -- [download 59% complete] -- [download 60% complete] -- [download 61% complete] -- [download 62% complete] -- [download 63% complete] -- [download 64% complete] -- [download 65% complete] -- [download 66% complete] -- [download 67% complete] -- [download 69% complete] -- [download 71% complete] -- [download 73% complete] -- [download 74% complete] -- [download 75% complete] -- [download 76% complete] -- [download 77% complete] -- [download 78% complete] -- [download 79% complete] -- [download 80% complete] -- [download 82% complete] -- [download 84% complete] -- [download 85% complete] -- [download 86% complete] -- [download 87% complete] -- [download 89% complete] -- [download 91% complete] -- [download 93% complete] -- [download 94% complete] -- [download 95% complete] -- [download 96% complete] -- [download 97% complete] -- [download 98% complete] -- [download 99% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/nlohmann_json-subbuild/nlohmann_json-populate-prefix/src/v3.10.5.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/nlohmann_json-subbuild/nlohmann_json-populate-prefix/src/v3.10.5.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/nlohmann_json-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'nlohmann_json-populate' [ 44%] No patch step for 'nlohmann_json-populate' [ 55%] No configure step for 'nlohmann_json-populate' [ 66%] No build step for 'nlohmann_json-populate' [ 77%] No install step for 'nlohmann_json-populate' [ 88%] No test step for 'nlohmann_json-populate' [100%] Completed 'nlohmann_json-populate' [100%] Built target nlohmann_json-populate -- Using the single-header code from /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/nlohmann_json-src/single_include/ -- Populating mp11 -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/mp11-subbuild [ 11%] Creating directories for 'mp11-populate' [ 22%] Performing download step (download, verify and extract) for 'mp11-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/mp11-subbuild/mp11-populate-prefix/src/boost-1.82.0.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/boostorg/mp11/archive/refs/tags/boost-1.82.0.zip' -- [download 17% complete] -- [download 19% complete] -- [download 25% complete] -- [download 39% complete] -- [download 43% complete] -- [download 50% complete] -- [download 64% complete] -- [download 86% complete] -- [download 93% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/mp11-subbuild/mp11-populate-prefix/src/boost-1.82.0.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/mp11-subbuild/mp11-populate-prefix/src/boost-1.82.0.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/mp11-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'mp11-populate' [ 44%] No patch step for 'mp11-populate' [ 55%] No configure step for 'mp11-populate' [ 66%] No build step for 'mp11-populate' [ 77%] No install step for 'mp11-populate' [ 88%] No test step for 'mp11-populate' [100%] Completed 'mp11-populate' [100%] Built target mp11-populate -- Populating re2 -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/re2-subbuild [ 11%] Creating directories for 're2-populate' [ 22%] Performing download step (download, verify and extract) for 're2-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/re2-subbuild/re2-populate-prefix/src/2022-06-01.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/google/re2/archive/refs/tags/2022-06-01.zip' -- [download 4% complete] -- [download 7% complete] -- [download 9% complete] -- [download 10% complete] -- [download 14% complete] -- [download 18% complete] -- [download 21% complete] -- [download 23% complete] -- [download 24% complete] -- [download 26% complete] -- [download 41% complete] -- [download 49% complete] -- [download 56% complete] -- [download 58% complete] -- [download 72% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/re2-subbuild/re2-populate-prefix/src/2022-06-01.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/re2-subbuild/re2-populate-prefix/src/2022-06-01.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/re2-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 're2-populate' [ 44%] No patch step for 're2-populate' [ 55%] No configure step for 're2-populate' [ 66%] No build step for 're2-populate' [ 77%] No install step for 're2-populate' [ 88%] No test step for 're2-populate' [100%] Completed 're2-populate' [100%] Built target re2-populate -- Populating gsl -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/gsl-subbuild [ 11%] Creating directories for 'gsl-populate' [ 22%] Performing download step (download, verify and extract) for 'gsl-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/gsl-subbuild/gsl-populate-prefix/src/v4.0.0.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/microsoft/GSL/archive/refs/tags/v4.0.0.zip' -- [download 17% complete] -- [download 23% complete] -- [download 34% complete] -- [download 84% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/gsl-subbuild/gsl-populate-prefix/src/v4.0.0.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/gsl-subbuild/gsl-populate-prefix/src/v4.0.0.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/gsl-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'gsl-populate' [ 44%] No patch step for 'gsl-populate' [ 55%] No configure step for 'gsl-populate' [ 66%] No build step for 'gsl-populate' [ 77%] No install step for 'gsl-populate' [ 88%] No test step for 'gsl-populate' [100%] Completed 'gsl-populate' [100%] Built target gsl-populate -- Populating flatbuffers -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/flatbuffers-subbuild [ 11%] Creating directories for 'flatbuffers-populate' [ 22%] Performing download step (download, verify and extract) for 'flatbuffers-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/flatbuffers-subbuild/flatbuffers-populate-prefix/src/v1.12.0.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/google/flatbuffers/archive/refs/tags/v1.12.0.zip' -- [download 3% complete] -- [download 4% complete] -- [download 6% complete] -- [download 7% complete] -- [download 8% complete] -- [download 9% complete] -- [download 15% complete] -- [download 18% complete] -- [download 19% complete] -- [download 22% complete] -- [download 24% complete] -- [download 25% complete] -- [download 34% complete] -- [download 41% complete] -- [download 45% complete] -- [download 47% complete] -- [download 49% complete] -- [download 51% complete] -- [download 59% complete] -- [download 68% complete] -- [download 77% complete] -- [download 80% complete] -- [download 81% complete] -- [download 90% complete] -- [download 93% complete] -- [download 95% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/flatbuffers-subbuild/flatbuffers-populate-prefix/src/v1.12.0.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/flatbuffers-subbuild/flatbuffers-populate-prefix/src/v1.12.0.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/flatbuffers-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'flatbuffers-populate' [ 44%] Performing patch step for 'flatbuffers-populate' patching file CMakeLists.txt patching file src/idl_gen_rust.cpp [ 55%] No configure step for 'flatbuffers-populate' [ 66%] No build step for 'flatbuffers-populate' [ 77%] No install step for 'flatbuffers-populate' [ 88%] No test step for 'flatbuffers-populate' [100%] Completed 'flatbuffers-populate' [100%] Built target flatbuffers-populate -- Looking for strtof_l -- Looking for strtof_l - found -- Looking for strtoull_l -- Looking for strtoull_l - found -- Using toolchain file: /home/marcus/Android/Sdk/ndk/26.1.10909125/build/cmake/android.toolchain.cmake. -- Populating pytorch_cpuinfo -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/pytorch_cpuinfo-subbuild [ 11%] Creating directories for 'pytorch_cpuinfo-populate' [ 22%] Performing download step (download, verify and extract) for 'pytorch_cpuinfo-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/pytorch_cpuinfo-subbuild/pytorch_cpuinfo-populate-prefix/src/959002f82d7962a473d8bf301845f2af720e0aa4.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/pytorch/cpuinfo/archive/959002f82d7962a473d8bf301845f2af720e0aa4.zip' -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/pytorch_cpuinfo-subbuild/pytorch_cpuinfo-populate-prefix/src/959002f82d7962a473d8bf301845f2af720e0aa4.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/pytorch_cpuinfo-subbuild/pytorch_cpuinfo-populate-prefix/src/959002f82d7962a473d8bf301845f2af720e0aa4.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/pytorch_cpuinfo-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'pytorch_cpuinfo-populate' [ 44%] No patch step for 'pytorch_cpuinfo-populate' [ 55%] No configure step for 'pytorch_cpuinfo-populate' [ 66%] No build step for 'pytorch_cpuinfo-populate' [ 77%] No install step for 'pytorch_cpuinfo-populate' [ 88%] No test step for 'pytorch_cpuinfo-populate' [100%] Completed 'pytorch_cpuinfo-populate' [100%] Built target pytorch_cpuinfo-populate -- Populating googletest -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/googletest-subbuild [ 11%] Creating directories for 'googletest-populate' [ 22%] Performing download step (download, verify and extract) for 'googletest-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/googletest-subbuild/googletest-populate-prefix/src/530d5c8c84abd2a46f38583ee817743c9b3a42b4.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/google/googletest/archive/530d5c8c84abd2a46f38583ee817743c9b3a42b4.zip' -- [download 2% complete] -- [download 3% complete] -- [download 4% complete] -- [download 5% complete] -- [download 7% complete] -- [download 8% complete] -- [download 10% complete] -- [download 13% complete] -- [download 14% complete] -- [download 16% complete] -- [download 18% complete] -- [download 21% complete] -- [download 23% complete] -- [download 24% complete] -- [download 26% complete] -- [download 27% complete] -- [download 33% complete] -- [download 37% complete] -- [download 43% complete] -- [download 49% complete] -- [download 60% complete] -- [download 72% complete] -- [download 78% complete] -- [download 84% complete] -- [download 90% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/googletest-subbuild/googletest-populate-prefix/src/530d5c8c84abd2a46f38583ee817743c9b3a42b4.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/googletest-subbuild/googletest-populate-prefix/src/530d5c8c84abd2a46f38583ee817743c9b3a42b4.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/googletest-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'googletest-populate' [ 44%] No patch step for 'googletest-populate' [ 55%] No configure step for 'googletest-populate' [ 66%] No build step for 'googletest-populate' [ 77%] No install step for 'googletest-populate' [ 88%] No test step for 'googletest-populate' [100%] Completed 'googletest-populate' [100%] Built target googletest-populate -- Populating eigen -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/eigen-subbuild [ 11%] Creating directories for 'eigen-populate' [ 22%] Performing download step (download, verify and extract) for 'eigen-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-e7248b26a1ed53fa030c5c459f7ea095dfd276ac.zip' timeout='none' inactivity timeout='none' -- Using src='https://gitlab.com/libeigen/eigen/-/archive/e7248b26a1ed53fa030c5c459f7ea095dfd276ac/eigen-e7248b26a1ed53fa030c5c459f7ea095dfd276ac.zip' -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-e7248b26a1ed53fa030c5c459f7ea095dfd276ac.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-e7248b26a1ed53fa030c5c459f7ea095dfd276ac.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/eigen-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'eigen-populate' [ 44%] No patch step for 'eigen-populate' [ 55%] No configure step for 'eigen-populate' [ 66%] No build step for 'eigen-populate' [ 77%] No install step for 'eigen-populate' [ 88%] No test step for 'eigen-populate' [100%] Completed 'eigen-populate' [100%] Built target eigen-populate -- Populating onnx -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/onnx-subbuild [ 11%] Creating directories for 'onnx-populate' [ 22%] Performing download step (download, verify and extract) for 'onnx-populate' -- Downloading... dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/onnx-subbuild/onnx-populate-prefix/src/v1.15.0.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/onnx/onnx/archive/refs/tags/v1.15.0.zip' -- [download 0% complete] -- [download 1% complete] -- [download 2% complete] -- [download 3% complete] -- [download 4% complete] -- [download 5% complete] -- [download 6% complete] -- [download 7% complete] -- [download 8% complete] -- [download 9% complete] -- [download 10% complete] -- [download 11% complete] -- [download 12% complete] -- [download 13% complete] -- [download 14% complete] -- [download 15% complete] -- [download 16% complete] -- [download 17% complete] -- [download 18% complete] -- [download 19% complete] -- [download 20% complete] -- [download 21% complete] -- [download 22% complete] -- [download 23% complete] -- [download 24% complete] -- [download 25% complete] -- [download 26% complete] -- [download 27% complete] -- [download 28% complete] -- [download 29% complete] -- [download 30% complete] -- [download 31% complete] -- [download 32% complete] -- [download 33% complete] -- [download 34% complete] -- [download 35% complete] -- [download 36% complete] -- [download 37% complete] -- [download 38% complete] -- [download 39% complete] -- [download 40% complete] -- [download 41% complete] -- [download 42% complete] -- [download 43% complete] -- [download 44% complete] -- [download 45% complete] -- [download 46% complete] -- [download 47% complete] -- [download 48% complete] -- [download 49% complete] -- [download 50% complete] -- [download 51% complete] -- [download 52% complete] -- [download 53% complete] -- [download 54% complete] -- [download 55% complete] -- [download 56% complete] -- [download 57% complete] -- [download 58% complete] -- [download 59% complete] -- [download 60% complete] -- [download 61% complete] -- [download 62% complete] -- [download 63% complete] -- [download 64% complete] -- [download 65% complete] -- [download 66% complete] -- [download 67% complete] -- [download 68% complete] -- [download 69% complete] -- [download 70% complete] -- [download 71% complete] -- [download 72% complete] -- [download 73% complete] -- [download 74% complete] -- [download 75% complete] -- [download 76% complete] -- [download 77% complete] -- [download 78% complete] -- [download 79% complete] -- [download 80% complete] -- [download 81% complete] -- [download 82% complete] -- [download 83% complete] -- [download 84% complete] -- [download 85% complete] -- [download 86% complete] -- [download 87% complete] -- [download 88% complete] -- [download 89% complete] -- [download 90% complete] -- [download 91% complete] -- [download 92% complete] -- [download 93% complete] -- [download 94% complete] -- [download 95% complete] -- [download 96% complete] -- [download 97% complete] -- [download 98% complete] -- [download 99% complete] -- [download 100% complete] -- verifying file... file='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/onnx-subbuild/onnx-populate-prefix/src/v1.15.0.zip' -- Downloading... done -- extracting... src='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/onnx-subbuild/onnx-populate-prefix/src/v1.15.0.zip' dst='/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/onnx-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No update step for 'onnx-populate' [ 44%] Performing patch step for 'onnx-populate' patching file CMakeLists.txt Hunk #1 succeeded at 495 (offset 98 lines). Hunk #2 succeeded at 647 (offset 98 lines). patching file onnx/onnx_pb.h [ 55%] No configure step for 'onnx-populate' [ 66%] No build step for 'onnx-populate' [ 77%] No install step for 'onnx-populate' [ 88%] No test step for 'onnx-populate' [100%] Completed 'onnx-populate' [100%] Built target onnx-populate -- Found PythonInterp: /usr/bin/python3 (found version "3.10.12") -- Using custom protoc executable Generated: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/onnx-build/onnx/onnx-ml.proto Generated: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/onnx-build/onnx/onnx-operators-ml.proto Generated: /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/_deps/onnx-build/onnx/onnx-data.proto -- -- **** Summary **** -- CMake version : 3.26.4 -- CMake command : /home/marcus/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -- System : Android -- C++ compiler : /home/marcus/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- C++ compiler version : 17.0.2 -- CXX flags : -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -Wnon-virtual-dtor -- Build type : Debug -- Compile definitions : ORT_ENABLE_STREAM;EIGEN_MPL2_ONLY;__STDC_FORMAT_MACROS -- CMAKE_PREFIX_PATH : /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/installed;/home/marcus/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64 -- CMAKE_INSTALL_PREFIX : /usr/local -- CMAKE_MODULE_PATH : /home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/cmake/external -- -- ONNX version : 1.15.0 -- ONNX NAMESPACE : onnx -- ONNX_USE_LITE_PROTO : ON -- USE_PROTOBUF_SHARED_LIBS : OFF -- Protobuf_USE_STATIC_LIBS : ON -- ONNX_DISABLE_EXCEPTIONS : OFF -- ONNX_DISABLE_STATIC_REGISTRATION : OFF -- ONNX_WERROR : OFF -- ONNX_BUILD_TESTS : OFF -- ONNX_BUILD_BENCHMARKS : OFF -- ONNX_BUILD_SHARED_LIBS : -- BUILD_SHARED_LIBS : OFF -- -- Protobuf compiler : -- Protobuf includes : -- Protobuf libraries : -- BUILD_ONNX_PYTHON : OFF Finished fetching external dependencies -- Looking for SNPE library in /opt/qcom/aistack/snpe/2.18.0.240101/lib/aarch64-android-clang6.0 CMake Error at external/find_snpe.cmake:28 (find_library): Could not find SNPE using the following names: snpe, SNPE, libSNPE.so Call Stack (most recent call first): external/onnxruntime_external_deps.cmake:564 (include) CMakeLists.txt:576 (include)
-- Configuring incomplete, errors occurred! Traceback (most recent call last): File "/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/tools/ci_build/build.py", line 2889, in
sys.exit(main())
File "/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/tools/ci_build/build.py", line 2746, in main
generate_build_tree(
File "/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/tools/ci_build/build.py", line 1623, in generate_build_tree
run_subprocess(
File "/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/tools/ci_build/build.py", line 852, in run_subprocess
return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env)
File "/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/tools/python/util/run.py", line 49, in run
completed_process = subprocess.run(
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/marcus/.local/bin/cmake', '/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/cmake', '-Donnxruntime_RUN_ONNX_TESTS=OFF', '-Donnxruntime_GENERATE_TEST_REPORTS=ON', '-DPython_EXECUTABLE=/usr/bin/python3', '-DPYTHON_EXECUTABLE=/usr/bin/python3', '-Donnxruntime_USE_MIMALLOC=OFF', '-Donnxruntime_ENABLE_PYTHON=OFF', '-Donnxruntime_BUILD_CSHARP=OFF', '-Donnxruntime_BUILD_JAVA=OFF', '-Donnxruntime_BUILD_NODEJS=OFF', '-Donnxruntime_BUILD_OBJC=OFF', '-Donnxruntime_BUILD_SHARED_LIB=OFF', '-Donnxruntime_BUILD_APPLE_FRAMEWORK=OFF', '-Donnxruntime_USE_DNNL=OFF', '-Donnxruntime_USE_NNAPI_BUILTIN=ON', '-Donnxruntime_USE_RKNPU=OFF', '-Donnxruntime_USE_LLVM=OFF', '-Donnxruntime_ENABLE_MICROSOFT_INTERNAL=OFF', '-Donnxruntime_USE_VITISAI=OFF', '-Donnxruntime_USE_TENSORRT=OFF', '-Donnxruntime_USE_TENSORRT_BUILTIN_PARSER=ON', '-Donnxruntime_USE_TVM=OFF', '-Donnxruntime_TVM_CUDA_RUNTIME=OFF', '-Donnxruntime_TVM_USE_HASH=OFF', '-Donnxruntime_USE_MIGRAPHX=OFF', '-Donnxruntime_DISABLE_CONTRIB_OPS=OFF', '-Donnxruntime_DISABLE_ML_OPS=OFF', '-Donnxruntime_DISABLE_RTTI=OFF', '-Donnxruntime_DISABLE_EXCEPTIONS=OFF', '-Donnxruntime_MINIMAL_BUILD=OFF', '-Donnxruntime_EXTENDED_MINIMAL_BUILD=OFF', '-Donnxruntime_MINIMAL_BUILD_CUSTOM_OPS=OFF', '-Donnxruntime_REDUCED_OPS_BUILD=OFF', '-Donnxruntime_ENABLE_LANGUAGE_INTEROP_OPS=OFF', '-Donnxruntime_USE_DML=OFF', '-Donnxruntime_USE_WINML=OFF', '-Donnxruntime_BUILD_MS_EXPERIMENTAL_OPS=OFF', '-Donnxruntime_USE_TELEMETRY=OFF', '-Donnxruntime_ENABLE_LTO=OFF', '-Donnxruntime_USE_ACL=OFF', '-Donnxruntime_USE_ACL_1902=OFF', '-Donnxruntime_USE_ACL_1905=OFF', '-Donnxruntime_USE_ACL_1908=OFF', '-Donnxruntime_USE_ACL_2002=OFF', '-Donnxruntime_USE_ACL_2308=OFF', '-Donnxruntime_USE_ARMNN=OFF', '-Donnxruntime_ARMNN_RELU_USE_CPU=ON', '-Donnxruntime_ARMNN_BN_USE_CPU=ON', '-Donnxruntime_USE_JSEP=OFF', '-Donnxruntime_ENABLE_NVTX_PROFILE=OFF', '-Donnxruntime_ENABLE_TRAINING=OFF', '-Donnxruntime_ENABLE_TRAINING_OPS=OFF', '-Donnxruntime_ENABLE_TRAINING_APIS=OFF', '-Donnxruntime_ENABLE_CPU_FP16_OPS=OFF', '-Donnxruntime_USE_NCCL=OFF', '-Donnxruntime_BUILD_BENCHMARKS=OFF', '-Donnxruntime_USE_ROCM=OFF', '-DOnnxruntime_GCOV_COVERAGE=OFF', '-Donnxruntime_USE_MPI=OFF', '-Donnxruntime_ENABLE_MEMORY_PROFILE=OFF', '-Donnxruntime_ENABLE_CUDA_LINE_NUMBER_INFO=OFF', '-Donnxruntime_USE_CUDA_NHWC_OPS=OFF', '-Donnxruntime_BUILD_WEBASSEMBLY_STATIC_LIB=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_CATCHING=ON', '-Donnxruntime_ENABLE_WEBASSEMBLY_API_EXCEPTION_CATCHING=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_THROWING=ON', '-Donnxruntime_WEBASSEMBLY_RUN_TESTS_IN_BROWSER=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_THREADS=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_DEBUG_INFO=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_PROFILING=OFF', '-Donnxruntime_ENABLE_LAZY_TENSOR=OFF', '-Donnxruntime_ENABLE_EXTERNAL_CUSTOM_OP_SCHEMAS=OFF', '-Donnxruntime_ENABLE_CUDA_PROFILING=OFF', '-Donnxruntime_ENABLE_ROCM_PROFILING=OFF', '-Donnxruntime_USE_XNNPACK=OFF', '-Donnxruntime_USE_WEBNN=OFF', '-Donnxruntime_USE_CANN=OFF', '-Donnxruntime_USE_TRITON_KERNEL=OFF', '-Donnxruntime_DISABLE_FLOAT8_TYPES=ON', '-Donnxruntime_DISABLE_SPARSE_TENSORS=OFF', '-Donnxruntime_DISABLE_OPTIONAL_TYPE=OFF', '-DSNPE_ROOT=/opt/qcom/aistack/snpe/2.18.0.240101/', '-DCMAKE_TOOLCHAIN_FILE=/home/marcus/Android/Sdk/ndk/26.1.10909125/build/cmake/android.toolchain.cmake', '-DANDROID_PLATFORM=android-30', '-DANDROID_ABI=arm64-v8a', '-DANDROID_MIN_SDK=30', '-Donnxruntime_USE_SNPE=ON', '-DCMAKE_TLS_VERIFY=ON', '-DFETCHCONTENT_QUIET=OFF', '-DCMAKE_BUILD_TYPE=Debug', '-DCMAKE_PREFIX_PATH=/home/marcus/newspace/1_20/onnxruntime_snpe_and_nnapi/onnxruntime/build/Android/Debug/installed']' returned non-zero exit status 1.
Visual Studio Version
No response
GCC / Compiler Version
No response