aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/versions
diff options
context:
space:
mode:
authorGravatar aehlig <aehlig@google.com>2017-03-29 14:10:25 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2017-03-29 19:28:17 +0200
commit052c2dc7468ebb7b7ad256a02572938d5f64df6a (patch)
tree7ea6fb95e755e5e3a41d99035c771b08b3128be1 /site/versions
parentc020c3d165735a2e668619bd79aa503e6f0a2615 (diff)
Keep compile-from-source instructions distribution agnostic
The instructions on how to compile bazel from source are particularly useful for platforms where no ready-made binaries are provided for. As such, we should not assume a debian-package--based system. It is OK to mention what needs to be done on those systems, but only as an example after stating the goal to achive (have OpenJKD 8 installed). PiperOrigin-RevId: 151571121
Diffstat (limited to 'site/versions')
-rw-r--r--site/versions/master/docs/install-compile-source.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/site/versions/master/docs/install-compile-source.md b/site/versions/master/docs/install-compile-source.md
index e070f952de..19212f26e7 100644
--- a/site/versions/master/docs/install-compile-source.md
+++ b/site/versions/master/docs/install-compile-source.md
@@ -5,10 +5,9 @@ title: Compile Bazel from Source
# <a name="compiling-from-source"></a>Compile Bazel from source
-1. Install OpenJDK 8:
- ```
- $ sudo apt-get install openjdk-8-jdk
- ```
+1. Ensure that you have OpenJDK 8 installed on your system.
+ For a system based on debian packages (e.g., Debian, Ubuntu), install
+ OpenJDK 8 by running the command `sudo apt-get install openjdk-8-jdk`.
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