Created
March 16, 2017 19:20
-
-
Save xiangjjj/2a743a9408bd19a4c290c08d3abe79c1 to your computer and use it in GitHub Desktop.
Build Bazel from Source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# start from home directory | |
cd $HOME | |
# get Bazel dist from https://github.com/bazelbuild/bazel/releases | |
$ wget https://github.com/bazelbuild/bazel/releases/download/0.4.5/bazel-0.4.5-dist.zip | |
# unzip Bazel | |
unzip bazel-0.4.5-dist.zip -d bazel | |
# compile Bazel | |
$HOME/bazel/compile.sh | |
# add binary to your environment | |
$ export PATH=$HOME/bazel/output:$PATH | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment