ctuning / ck-tensorflow

Collective Knowledge components for TensorFlow (code, data sets, models, packages, workflows):
http://cKnowledge.org
BSD 3-Clause "New" or "Revised" License
93 stars 26 forks source link

Build TensorFlow for Android #44

Closed Chunosov closed 6 years ago

Chunosov commented 6 years ago

Build scripts for src and shared_cc packages could be modified to support building for Android. Start from here https://www.tensorflow.org/mobile/android_build

In your copy of the TensorFlow source, update the WORKSPACE file with the location of your SDK and NDK, where it says and .

In general when compiling for Android with Bazel you need --config=android on the Bazel command line

Chunosov commented 6 years ago

Was implemented as package lib-tensorflow-1.7.0-src-static so close this issue.