How to check the version of Bazel?

I am trying to find out which version of Bazel that I currently have on my computer to install TensorFlow from the source (version 0.1.4 required)

evan@evan-box :~/Apps/tensorflow$ bazel --version Unknown Bazel startup option: '--version'. For more info, run 'blaze help startup_options'. evan@evan-box :~/Apps/tensorflow$ bazel version Build label: head (@125b349) Build target: bazel-out/local_linux-fastbuild/bin/src/main/java/bazel-main_deploy.jar Build time: Fri Nov 13 01:23:30 2015 (1447377810) Build timestamp: 1447377810 Build timestamp as int: 1447377810 

So where is the version really?

+17
source share
2 answers

See the Bazel User Guide

. From the command line:

 $ bazel version Build label: 0.1.1 
+17
source

Starting with the base version 0.27.0 , bazel --version is available, without the side effect of starting a server daemon.

0
source

Source: https://habr.com/ru/post/1242621/


All Articles