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

Build onnxruntime with SNPE EP on SA8155P #21011

Closed
June1124 opened this issue Jun 12, 2024 · 1 comment
Closed

Build onnxruntime with SNPE EP on SA8155P #21011

June1124 opened this issue Jun 12, 2024 · 1 comment
Labels
build build issues; typically submitted using template ep:SNPE issues related to SNPE execution provider

Comments

@June1124
Copy link

Describe the issue

image

Urgency

No response

Target platform

SA8155P

Build script

[COMMAND]
build.bat --build_shared_lib --skip_submodule_sync --android --config Release --use_snpe --snpe_root F:/Work/QUALCOMM/snpe-1.61.0.3358 --android_sdk_path E:/AndroidSDK --android_ndk_path E:/AndroidSDK/ndk/26.2.11394342 --android_abi arm64-v8a --android_api 30 --cmake_generator Ninja --build_dir build\Android

Error / output

1 error generated.
[460/1261] Building CXX object CMakeFiles/onnxruntime_util.dir/D_/Desktop/onnxruntime-1.13.1-recursive/onnxruntime/core/util/math_cpu.cc.o
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "D:\Desktop\onnxruntime-1.13.1-recursive\tools\ci_build\build.py", line 2952, in
sys.exit(main())
File "D:\Desktop\onnxruntime-1.13.1-recursive\tools\ci_build\build.py", line 2844, in main
build_targets(args, cmake_path, build_dir, configs, num_parallel_jobs, args.target)
File "D:\Desktop\onnxruntime-1.13.1-recursive\tools\ci_build\build.py", line 1731, in build_targets
run_subprocess(cmd_args, env=env)
File "D:\Desktop\onnxruntime-1.13.1-recursive\tools\ci_build\build.py", line 861, in run_subprocess
return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env)
File "D:\Desktop\onnxruntime-1.13.1-recursive\tools\python\util\run.py", line 49, in run
completed_process = subprocess.run(
File "D:\ProgramData\anaconda3\envs\wxj\lib\subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['D:\Program Files\CMake\bin\cmake.EXE', '--build', 'build\Android\Release', '--config', 'Release']' returned non-zero exit status 1.

Visual Studio Version

No response

GCC / Compiler Version

No response

@June1124 June1124 added the build build issues; typically submitted using template label Jun 12, 2024
@github-actions github-actions bot added the platform:mobile issues related to ONNX Runtime mobile; typically submitted using template label Jun 12, 2024
@snnn snnn added ep:SNPE issues related to SNPE execution provider and removed platform:mobile issues related to ONNX Runtime mobile; typically submitted using template labels Jun 12, 2024
@HectorSVC
Copy link
Contributor

We don't support SNPE any more, please use QNN EP instead. https://onnxruntime.ai/docs/execution-providers/QNN-ExecutionProvider.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template ep:SNPE issues related to SNPE execution provider
Projects
None yet
Development

No branches or pull requests

4 participants