diff options
Diffstat (limited to 'site/versions')
-rw-r--r-- | site/versions/master/docs/install-compile-source.md | 27 | ||||
-rw-r--r-- | site/versions/master/docs/install-ubuntu.md | 1 | ||||
-rw-r--r-- | site/versions/master/docs/install.md | 2 |
3 files changed, 17 insertions, 13 deletions
diff --git a/site/versions/master/docs/install-compile-source.md b/site/versions/master/docs/install-compile-source.md index 0291fe6d31..e070f952de 100644 --- a/site/versions/master/docs/install-compile-source.md +++ b/site/versions/master/docs/install-compile-source.md @@ -5,21 +5,24 @@ title: Compile Bazel from Source # <a name="compiling-from-source"></a>Compile Bazel from source -The standard way of compiling a release version of Bazel from source -is to use a distribution archive. Download `bazel-<VERSION>-dist.zip` -from -the [release page](https://github.com/bazelbuild/bazel/releases) for -the desired version. We recommend to also verify the signature made by our -[release key](https://bazel.build/bazel-release.pub.gpg) 48457EE0. +1. Install OpenJDK 8: + ``` + $ sudo apt-get install openjdk-8-jdk + ``` -Unzip the archive and call `bash ./compile.sh`; this will create a -bazel binary in `output/bazel`. This binary is self-contained, -so it can be copied to a directory on the PATH (e.g., -`/usr/local/bin`) or used in-place. +2. The standard way of compiling a release version of Bazel from source is to + use a distribution archive. Download `bazel-<VERSION>-dist.zip` from the + [release page](https://github.com/bazelbuild/bazel/releases) for the desired + version. We recommend to also verify the signature made by our + [release key](https://bazel.build/bazel-release.pub.gpg) 48457EE0. -##<a name="compiling-from-source-issues"></a>Known issues when compiling from source +3. Unzip the archive and call `bash ./compile.sh`; this will create a bazel + binary in `output/bazel`. This binary is self-contained, so it can be copied + to a directory on the PATH (such as `/usr/local/bin`) or used in-place. -**On Windows:** +## <a name="compiling-from-source-issues"></a>Known issues when compiling from source + +### On Windows: * version 0.4.4 and below: `compile.sh` may fail right after start with an error like this: diff --git a/site/versions/master/docs/install-ubuntu.md b/site/versions/master/docs/install-ubuntu.md index cdc88f7628..1c531049b9 100644 --- a/site/versions/master/docs/install-ubuntu.md +++ b/site/versions/master/docs/install-ubuntu.md @@ -9,6 +9,7 @@ Supported Ubuntu Linux platforms: * 16.04 (LTS) * 15.10 +* 14.04 (LTS) Install Bazel on Ubuntu using one of the following methods: diff --git a/site/versions/master/docs/install.md b/site/versions/master/docs/install.md index 168aaac883..dd69f7a270 100644 --- a/site/versions/master/docs/install.md +++ b/site/versions/master/docs/install.md @@ -7,7 +7,7 @@ title: Installing Bazel See the instructions for installing Bazel on: -* [Ubuntu Linux (16.04 (LTS) and 15.10)](install-ubuntu.md) +* [Ubuntu Linux (16.04, 15.10, and 14.04)](install-ubuntu.md) * [Mac OS X](install-os-x.md) * [Windows (highly experimental)](install-windows.md) |