bazelbuild / bazel

a fast, scalable, multi-language and extensible build system
https://bazel.build
Apache License 2.0
23.32k stars 4.1k forks source link

impossible to add tensoflow as dependency to project via git_repository/local_repository rules #598

Closed Zaspire closed 8 years ago

Zaspire commented 9 years ago

error message for (tensor flow included via local_repository)

ERROR: /private/var/tmp/_bazel_user/6ec9f062c664e765880a72fac3078fb9/external/tensorflow-local/tensorflow/core/BUILD:197:1:
no such package 'tensorflow/core/platform/default/build_config': 
BUILD file not found on package path and referenced by '@tensorflow-local//tensorflow/core:tensorflow_opensource'.
ERROR: Loading failed; build aborted.
damienmg commented 9 years ago

Ok @jhfield is working on fixing that. This is because remote repository cannot reference correctly Skylark files. Until this is fixed, you need to copy the .bzl of tensorflow under the same path in your main repository

kchodorow commented 9 years ago

Duplicate of #429.

Zaspire commented 8 years ago

I still can reproduce issue with latest bazel & latest tenserflow

kchodorow commented 8 years ago

I'd imagine that tensorflow's load statements are using the old-style paths, not labels, and needs to be updated. Perhaps file a ticket with tensorflow?