mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
* Update DNNLibrary * Allow fp16 by default * Add nnapi build in ci * Fix nnapi ep after #1268 * Remove unused variables * Support nnapi in onnx_test_runner * Update DNNLibrary to fix tests * Update build.py for android build support, solve conflict of tools/ci_build/build.py * Support non-ARM Android build, solve conflict of tools/ci_build/build.py * Enable android test by x86_64 android emulator * Add dnnlibrary/NNAPI support in build.py * suppress the verbose adb output * Remove debug logs * Install cmake by pip * Fix undefined host_protoc_path * cmake==3.13.2 in pypi is actually 3.12.2, so install 3.13.2.post1 instead * Fix Android ARM64 build * Use android ndk r20 instead of r19c, fix conflicts in install_deps_android.sh
17 lines
448 B
Bash
Executable file
17 lines
448 B
Bash
Executable file
#! /usr/bin/env bash
|
|
# Created by daquexian
|
|
# A bash script that push folders recursively, "adb push" doesn't work on some devices
|
|
|
|
if [[ $# -ne 2 ]]; then
|
|
echo "Usage: $0 src dest"
|
|
exit 1
|
|
fi
|
|
|
|
src=`realpath $1`
|
|
src_basename=`basename $1`
|
|
pushd `dirname $src`
|
|
if [[ -d $src ]]; then
|
|
find $src_basename -type d -print -exec adb shell mkdir -p $2/{} \; > /dev/null
|
|
fi
|
|
find $src_basename -type f -exec adb push {} $2/{} \; > /dev/null
|
|
popd
|