diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2015-03-13 13:05:57 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@google.com> | 2015-03-13 14:44:58 +0000 |
commit | 3a152ed6ba37a8f422128c2302d662b6c2f5461a (patch) | |
tree | d8e2d6ae0604622012a051cb5bf7098876e32c81 /README.md | |
parent | 2bf7254410e20d1b26f57e941680f1af29c49453 (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.md | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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: |