Add cross build parameters to android_full.sh
https://docs.bazel.build/versions/master/user-manual.html#flag--host_crosstool_top PiperOrigin-RevId: 299652603 Change-Id: I0942c28544379c4e76ff7ca5d41022a252a2e9b9
This commit is contained in:
parent
c6af3c14c7
commit
50a74e5250
@ -64,6 +64,7 @@ done
|
||||
echo "========== Building TensorFlow Android Jar and Demo =========="
|
||||
bazel --bazelrc=/dev/null build --config=monolithic --fat_apk_cpu=${CPUS} \
|
||||
--compilation_mode=opt --cxxopt=-std=c++14 \
|
||||
--host_crosstool_top=@bazel_tools//tools/cpp:toolchain \
|
||||
--spawn_strategy=sandboxed --genrule_strategy=sandboxed \
|
||||
//tensorflow/tools/android/inference_interface:android_tensorflow_inference_java \
|
||||
//tensorflow/tools/android/inference_interface:android_tensorflow_inference_java.aar \
|
||||
|
Loading…
Reference in New Issue
Block a user