diff options
author | 2017-03-28 12:56:57 +0000 | |
---|---|---|
committer | 2017-03-28 19:51:16 +0000 | |
commit | c82a16186dd5c1291c1b6609a9d0762ad6183ca9 (patch) | |
tree | f7ffad40d9a984f2600ace7af2994ceb4fef1e79 /site/versions/master/docs/install-compile-source.md | |
parent | f7ceb426c71aa14eb09dc7b24d696897b5c5fb44 (diff) |
- 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
Diffstat (limited to 'site/versions/master/docs/install-compile-source.md')
-rw-r--r-- | site/versions/master/docs/install-compile-source.md | 27 |
1 files changed, 15 insertions, 12 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: |