Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
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
  • Loading branch information
damienmg authored and hanwen committed Mar 13, 2015
1 parent 2bf7254 commit 3a152ed
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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:

Expand All @@ -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:

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 3a152ed

Please sign in to comment.