aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/install.md
diff options
context:
space:
mode:
authorGravatar Dave Dopson <ddopson@google.com>2015-08-13 08:55:30 +0000
committerGravatar Florian Weikert <fwe@google.com>2015-08-13 14:01:57 +0000
commit84ff771d0326e9d87291cf52d2bf471c23590c78 (patch)
tree83c98b2f236386c2c4292bf6aea673a9b98b5406 /site/docs/install.md
parentb5c98845052719685ba532419371b07e0e7ed790 (diff)
More specific instructions for Mac OS X install
-- Change-Id: I332634baa1feacbe54c669c12e1933ca9f3f1755 Reviewed-on: https://bazel-review.googlesource.com/#/c/1810 MOS_MIGRATED_REVID=100556377
Diffstat (limited to 'site/docs/install.md')
-rw-r--r--site/docs/install.md37
1 files changed, 29 insertions, 8 deletions
diff --git a/site/docs/install.md b/site/docs/install.md
index cca725ba3e..35b55f9078 100644
--- a/site/docs/install.md
+++ b/site/docs/install.md
@@ -71,19 +71,40 @@ You can also add this line to your `~/.bashrc` file.
### Building Bazel on OS X
-Bazel on Mac OS X requires:
+To build Bazel on Mac OS X:
-* The Xcode command line tools. Xcode can be downloaded from the
- [Apple Developer Site](https://developer.apple.com/xcode/downloads/).
+#### 1. Install JDK 7
-* MacPorts or Homebrew for installing required packages.
+JDK7 can be downloaded from
+[Oracle's JDK Page](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html).
+Look for "Mac OS X x64" under "Java SE Development Kit". This will download a
+DMG image with an install wizard.
-* An installation of JDK 7.
+#### 2. Install XCode Command Line Tools
-* For `objc_*` and `ios_*` rule support, you must have Xcode 6.1 or later with
- iOS SDK 8.1 installed on your system.
+Xcode can be downloaded from the
+[Apple Developer Site](https://developer.apple.com/xcode/downloads/), which will
+redirect to the App Store.
-To build Bazel on Mac OS X:
+For `objc_*` and `ios_*` rule support, you must have Xcode 6.1 or later with
+iOS SDK 8.1 installed on your system.
+
+Once XCode is installed you can trigger the license signature with the following command:
+
+```
+$ sudo gcc --version
+```
+
+#### 3. Install MacPorts or Homebrew for installing required packages.
+
+While not required to compile Bazel, a package manager like MacPorts or Homebrew
+is recommended to help install other dependencies like protobuffer support.
+
+Homebrew can be installed via a 1-line script from [brew.sh](http://brew.sh/).
+
+Macports is available from [macports.org](https://www.macports.org/install.php).
+
+#### 4. Build Bazel
```
$ cd bazel