提交 6d9517b1 编写于 作者: H hjchen2

update

上级 e227429f
...@@ -64,7 +64,7 @@ function check_ndk() { ...@@ -64,7 +64,7 @@ function check_ndk() {
} }
function build_android_armv7_cpu_only() { function build_android_armv7_cpu_only() {
# rm -rf ../build/armeabi-v7a rm -rf ../build/armeabi-v7a
cmake .. \ cmake .. \
-B"../build/armeabi-v7a" \ -B"../build/armeabi-v7a" \
-DANDROID_ABI="armeabi-v7a with NEON" \ -DANDROID_ABI="armeabi-v7a with NEON" \
...@@ -83,7 +83,7 @@ function build_android_armv7_cpu_only() { ...@@ -83,7 +83,7 @@ function build_android_armv7_cpu_only() {
} }
function build_android_armv7_gpu() { function build_android_armv7_gpu() {
# rm -rf ../build/armeabi-v7a rm -rf ../build/armeabi-v7a
cmake .. \ cmake .. \
-B"../build/armeabi-v7a" \ -B"../build/armeabi-v7a" \
-DANDROID_ABI="armeabi-v7a with NEON" \ -DANDROID_ABI="armeabi-v7a with NEON" \
...@@ -236,7 +236,7 @@ function build_linux_fpga() { ...@@ -236,7 +236,7 @@ function build_linux_fpga() {
} }
function run_android_test() { function run_android_test() {
ExecuteAndroidTest $1 ExecuteAndroidTests $1
} }
function main() { function main() {
......
...@@ -6,7 +6,7 @@ function AddTest() { ...@@ -6,7 +6,7 @@ function AddTest() {
operators="${operators} $1" operators="${operators} $1"
} }
function ExecuteAndroidTest() { function ExecuteAndroidTests() {
platform=$1 platform=$1
devices=`adb devices | grep -v devices | grep device | awk -F ' ' '{print $1}'` devices=`adb devices | grep -v devices | grep device | awk -F ' ' '{print $1}'`
for device in ${devices}; do for device in ${devices}; do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册