cjweeks / tensorflow-cmake

Integrate TensorFlow with CMake projects effortlessly
MIT License
331 stars 83 forks source link

bazel build tensorflow:libtensorflow_all.so #19

Closed dendisuhubdy closed 7 years ago

dendisuhubdy commented 7 years ago

When running $ bazel build tensorflow:libtensorflow_all.so

grok-machine:tensorflow dendisuhubdy$ bazel build tensorflow:libtensorflow_all.so
ERROR: /Users/dendisuhubdy/research/frameworks/tensorflow/tensorflow/core/BUILD:1396:1: no such target '//tensorflow/tools/git:gen/head': target 'gen/head' not declared in package 'tensorflow/tools/git' defined by /Users/dendisuhubdy/research/frameworks/tensorflow/tensorflow/tools/git/BUILD and referenced by '//tensorflow/core:version_info_gen'.
ERROR: /Users/dendisuhubdy/research/frameworks/tensorflow/tensorflow/core/BUILD:1396:1: no such target '//tensorflow/tools/git:gen/branch_ref': target 'gen/branch_ref' not declared in package 'tensorflow/tools/git' defined by /Users/dendisuhubdy/research/frameworks/tensorflow/tensorflow/tools/git/BUILD and referenced by '//tensorflow/core:version_info_gen'.
ERROR: Analysis of target '//tensorflow:libtensorflow_all.so' failed; build aborted.
INFO: Elapsed time: 21.977s