Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build iOS static library using bazel #5360

Closed
superrunt19 opened this issue Nov 2, 2016 · 4 comments
Closed

how to build iOS static library using bazel #5360

superrunt19 opened this issue Nov 2, 2016 · 4 comments
Labels
type:build/install Build and install issues

Comments

@superrunt19
Copy link

I'm working with tag v0.11.0.rc2.

Following the instructions here https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/makefile/README.md I have successfully built tensorflow for iOS using the makefile approach. However, I have wondered about the first line in the readme

The recommended way to build TensorFlow from source is using the Bazel open-source build system

I can't find any targets in the bazel BUILD files that would build libprotobuf-lite.a, libprotobuf.a, and libtensorflow-core.a that the makefile approach builds.

Does anyone know how to build the static libs for iOS using Bazel? Is there a reason/advantage to do so?

@aselle aselle added the type:build/install Build and install issues label Nov 2, 2016
@aselle
Copy link
Contributor

aselle commented Nov 2, 2016

Sorry that is a general statement that doesn't apply to iOS. For iOS you currently need to use the makefile. Sorry for the confusion.

@aselle aselle closed this as completed Nov 2, 2016
vrv pushed a commit to vrv/tensorflow that referenced this issue Nov 3, 2016
@cancan101
Copy link
Contributor

Is it still the case that Make is the only way to build for iOS, or can bazel now be used? If no bazel, what is this: 78c9dec ?

@aselle
Copy link
Contributor

aselle commented Mar 3, 2017

@petewarden, I believe this still applies. Right?

@jakiechris
Copy link

i successfully built ios file : tensorflow\contrib\makefile\gen\lib\libtensorflow-core.a

but don't know where the header files are...

any one knows where to find h files ?

here is my technical paths:
#11126
#11231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:build/install Build and install issues
Projects
None yet
Development

No branches or pull requests

4 participants