mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
### Description <!-- Describe your changes. --> The tools should really all come from the same Android NDK, so using `shutil.which` adds potential confusion when we do a lookup for the target program by name first due to adding `dirnames.insert(0, "")` as the first directory entry to lookup as it will match the filename anywhere in the current path. That's problematic as the emulator should come from <sdk_tools>/emulator/emulator (see [here](https://www.stkent.com/2017/08/10/update-your-path-for-the-new-android-emulator-location.html)), but the paths on the CI machines result in the old location of <sdk_tools>/tools/emulator being selected. This leads to the emulator failing to run on arm64 macOS CIs as the old emulator does not look for the arm64 binary. At the most you may have multiple cmdline-tools versions installed, but if we need to support explicitly specifying a version for that path that can be added. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Make emulator run on arm64 macOS machines. |
||
|---|---|---|
| .. | ||
| util | ||
| __init__.py | ||
| check_onnx_model_mobile_usability.py | ||
| convert_onnx_models_to_ort.py | ||
| create_reduced_build_config.py | ||
| dump_ort_model.py | ||
| dump_subgraphs.py | ||
| example_operator_perf_test.py | ||
| find_optimizer_opset_version_updates_required.py | ||
| fix_long_lines.py | ||
| gen_contrib_doc.py | ||
| gen_opkernel_doc.py | ||
| gen_ort_mobile_pkg_doc.py | ||
| get_submodules.py | ||
| onnx2tfevents.py | ||
| onnx_test_data_utils.py | ||
| ort_test_dir_utils.py | ||
| PythonTools.md | ||
| remove_initializer_from_input.py | ||
| run_adb.py | ||
| run_android_emulator.py | ||
| run_CIs_for_branch.py | ||
| run_CIs_for_external_pr.py | ||
| sparsify_initializers.py | ||
| update_version.py | ||