update the instruction for minimum AOT on Android

It's no longer in third-party/. Some compilation and inking flages
need to be updated.
This commit is contained in:
Koan-Sin Tan 2017-06-02 10:50:30 +08:00 committed by Martin Wicke
parent 7658fdbb90
commit c007ee2c1f

View File

@ -523,8 +523,12 @@ cuda_py_test(
# --dump_graph_dir, and the config file was written by hand. # --dump_graph_dir, and the config file was written by hand.
# #
# Run the following to build a minimal benchmark of the computation on Android: # Run the following to build a minimal benchmark of the computation on Android:
# $ bazel build -c opt --config=android_arm \ # $ bazel build -c opt --cxxopt='-std=c++11' --linkopt='-lm' \
# third_party/tensorflow/compiler/tests:lstm_layer_inference_benchmark # --cpu=armeabi-v7a \
# --host_crosstool_top=@bazel_tools//tools/cpp:toolchain \
# --crosstool_top=//external:android/crosstool \
# //tensorflow/compiler/tests:lstm_layer_inference_benchmark
# #
# Currently the resulting binary size is ~190KB # Currently the resulting binary size is ~190KB
tf_library( tf_library(