Skip to content

Commit 7c4c3f1

Browse files
authored
Update start_android_aarch64.sh
1 parent e74753f commit 7c4c3f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/embedding/start_android_aarch64.sh

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ python2 migrate_db.py db upgrade
1010
TASKER=restserver python2 classifier_rest_server.py &
1111
TASKER=worker WORKER_TYPE=classify python2 classifier_rest_server.py worker --loglevel INFO -E -n classify -c 1 -Q classify &
1212

13+
if [ "$HAS_OPENCL" = "false" ]
14+
then
15+
LD_LIBRARY_PATH=/system/lib64:$LD_LIBRARY_PATH:$PREFIX/lib64 python2 embedding_server.py
16+
fi
17+
1318
while [ 1 ]
1419
do
1520
LD_LIBRARY_PATH=/system/lib64:$LD_LIBRARY_PATH:$PREFIX/lib64:/system/vendor/lib64/egl:/system/vendor/lib64 WORKER_TYPE=embedding python2 upload_api-v2.py worker --loglevel INFO -E -n embedding -c 1 -Q embedding

0 commit comments

Comments
 (0)