diff options
author | steren <steren@google.com> | 2017-06-20 12:18:44 -0400 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2017-06-20 14:37:08 -0400 |
commit | 1d9d6fe20d7297ff395ee23f0588957618febdf5 (patch) | |
tree | 0b39ebcf09d2723fa047fc82774710c2f1529b04 /site/docs/install-os-x.md | |
parent | 41f6283ba7ca4e663623df276f045efb8550e90b (diff) |
Update install documentation with latest Bazel version number
Also remove warning about macOS bug in 0.5.0 and instructions about JDK7
Fixes https://github.com/bazelbuild/bazel/issues/3222
RELNOTES: None
PiperOrigin-RevId: 159569520
Diffstat (limited to 'site/docs/install-os-x.md')
-rw-r--r-- | site/docs/install-os-x.md | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/site/docs/install-os-x.md b/site/docs/install-os-x.md index 249524b91e..d9a4d96c82 100644 --- a/site/docs/install-os-x.md +++ b/site/docs/install-os-x.md @@ -5,12 +5,6 @@ title: Installing Bazel on macOS # <a name="mac-os-x"></a>Install Bazel on macOS (OS X) -> Note: Bazel release 0.5.0 contains a bug in the compiler detection on macOS which -> requires Xcode and the iOS tooling to be installed -> ([corresponding issue #3063](https://github.com/bazelbuild/bazel/issues/3063)). -> If you had Command Line Tools installed, you also need to switch to Xcode using -> `sudo xcode-select -s /Applications/Xcode.app/Contents/Developer`. - Install Bazel on macOS (OS X) using one of the following methods: * [Use Homebrew (recommended)](#install-on-mac-os-x-homebrew) @@ -79,18 +73,18 @@ sudo gcc --version Go to Bazel's [GitHub releases page](https://github.com/bazelbuild/bazel/releases). -Download the binary installer `bazel-0.5.0-installer-darwin-x86_64.sh`. This +Download the binary installer `bazel-0.5.1-installer-darwin-x86_64.sh`. This installer contains the Bazel binary and the required JDK, and can be used even if a JDK is already installed. -Note that `bazel-0.5.0-without-jdk-installer-darwin-x86_64.sh` is a version of +Note that `bazel-0.5.1-without-jdk-installer-darwin-x86_64.sh` is a version of the installer without embedded JDK 8. Only use this installer if you already have JDK 8 installed. Note that two other versions of the installer exist: -* `bazel-0.5.0-without-jdk-installer-darwin-x86_64.sh`: version without +* `bazel-0.5.1-without-jdk-installer-darwin-x86_64.sh`: version without embedded JDK 8. Only use this installer if you already have JDK 8 installed. -* `bazel-0.5.0-jdk7-installer-darwin-x86_64.sh`: last release compatible +* `bazel-0.5.1-jdk7-installer-darwin-x86_64.sh`: last release compatible with JDK 7. ### 3. Run the installer @@ -98,8 +92,8 @@ Note that two other versions of the installer exist: Run the installer: <pre> -chmod +x bazel-0.5.0-installer-darwin-x86_64.sh -./bazel-0.5.0-installer-darwin-x86_64.sh --user +chmod +x bazel-0.5.1-installer-darwin-x86_64.sh +./bazel-0.5.1-installer-darwin-x86_64.sh --user </pre> The `--user` flag installs Bazel to the `$HOME/bin` directory on your system and |