

➜ bazel git:(master) bazel build //src:bazel Starting local Bazel server and connecting to it. remote: Compressing objects: 100% (82/82), done. ➜ Desktop git clone Cloning into 'bazel'. (2 packages) $ xcode-select -p /Library/Developer/CommandLineTools If your Xcode version has changed recently, try: "bazel clean -expunge" to re-run Xcode configuration ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package ' failed build aborted: Analysis of target ' failed build aborted INFO: Elapsed time: 13.244s FAILED: Build did NOT complete successfully (63 packages loaded) currently loading: tensorflow/python. WARNING: /private/var/tmp/_bazel_shilei/d84c9594019614910b5a52be437fcea4/external/protobuf_archive/WORKSPACE:1: Workspace name in /private/var/tmp/_bazel_shilei/d84c9594019614910b5a52be437fcea4/external/protobuf_archive/WORKSPACE does not match the name given in the repository 's definition this will cause a build error in future versions ERROR: /private/var/tmp/_bazel_shilei/d84c9594019614910b5a52be437fcea4/external/local_config_cc/BUILD:50:5: in apple_cc_toolchain rule Xcode version must be specified to use an Apple CROSSTOOL. $ bazel build -copt=-DINTEL_MKL_DNN -config=mkl -c opt //tensorflow/tools/pip_package:build_pip_package WARNING: ignoring http_proxy in environment. Any other information, logs, or outputs that you want to share? Have you found anything relevant by searching the web? Release 0.12.0-homebrew What's the output of git remote get-url origin git rev-parse master git rev-parse HEAD ? MacOS High Sierra 10.13.4 What's the output of bazel info release? What operating system are you running Bazel on?

Open the Terminal.app, execute sudo xcode-select -s /Library/Developer/CommandLineTools to switch back to the Command Line Developer Tools.
TO USE THE JAVA COMMAND LINE TOOL MAC SIERRA INSTALL
