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
When running
$ bazel build tensorflow:libtensorflow_all.so