From 3a152ed6ba37a8f422128c2302d662b6c2f5461a Mon Sep 17 00:00:00 2001 From: Damien Martin-Guillerez Date: Fri, 13 Mar 2015 13:05:57 +0000 Subject: 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 --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'README.md') 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: -- cgit v1.2.3