From c82a16186dd5c1291c1b6609a9d0762ad6183ca9 Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 28 Mar 2017 12:56:57 +0000 Subject: - Clarify that we still support Ubuntu 14.04. - When compiling from source, adding instructions to install OpenJDK 8 -- PiperOrigin-RevId: 151440425 MOS_MIGRATED_REVID=151440425 --- .../versions/master/docs/install-compile-source.md | 27 ++++++++++++---------- site/versions/master/docs/install-ubuntu.md | 1 + 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 # Compile Bazel from source -The standard way of compiling a release version of Bazel from source -is to use a distribution archive. Download `bazel--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--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. -##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:** +## 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) -- cgit v1.2.3