aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-03-13 13:05:57 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-03-13 14:44:58 +0000
commit3a152ed6ba37a8f422128c2302d662b6c2f5461a (patch)
treed8e2d6ae0604622012a051cb5bf7098876e32c81 /README.md
parent2bf7254410e20d1b26f57e941680f1af29c49453 (diff)
Update README.md
Now the README.md mark OS X support as non-experimental and remove the part for --cpu=darwin that is no more needed. Also completed a bit about dependency on java 8. -- MOS_MIGRATED_REVID=88540116
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 3 insertions, 6 deletions
diff --git a/README.md b/README.md
index 8554b84417..aeb8edc9a2 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ This README file contains instructions for building and running Bazel.
Supported platforms:
* Ubuntu Linux
-* Mac OS X (experimental only)
+* Mac OS X
Java:
@@ -39,7 +39,7 @@ To build Bazel on Ubuntu:
1. Install required package:
- $ sudo apt-get install libarchive-dev
+ $ sudo apt-get install libarchive-dev openjdk-8-jdk
2. Build Bazel:
@@ -52,6 +52,7 @@ Using Bazel on Mac OS X requires:
* Xcode and Xcode command line tools
* MacPorts or Homebrew for installing required packages
+* A JDK 8 installed
To build Bazel on Mac OS X:
@@ -86,10 +87,6 @@ Build a sample Java application:
$ cd $HOME/my_workspace
$ $HOME/bazel/output/bazel build //examples/java-native/src/main/java/com/example/myproject:hello-world
-_Note: on OS X, you must specify \-\-cpu=darwin to build Java programs, for example:_
-
- $ bazel build --cpu=darwin //examples/java-native/src/main/java/com/example/myproject:hello-world
-
The build output is located in `$HOME/my_workspace/bazel-bin/examples/java-native/src/main/java/com/example/myproject/`.
Run the sample application: