OSX specific installation instructions
@@ -22,9 +22,16 @@ Example, download for Linux:
$ wget https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-19.3.0/graalvm-ce-java8-linux-amd64-19.3.0.tar.gz
$ tar -xf graalvm-ce-java8-linux-amd64-19.3.0.tar.gz
```
-
The Java binary will be found in the `graalvm-ce-java{JDK_VERSION}-19.3.0` directory. This directory is used as the JAVA_HOME (See step 2).
+
+For OSX:
+```bash
+$ wget https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-19.3.0/graalvm-ce-java11-darwin-amd64-19.3.0.tar.gz
+```
+then untar it to the OSX standard JDK location `/Library/Java/JavaVirtualMachines/` or to a folder of your choice.
+
+
### 2. Download TornadoVM
```bash
@@ -53,9 +60,11 @@ This file should be loaded once after opening the command prompt for the setup o
```bash
$ source ./etc/sources.env
```
+For OSX: the exports above may be added to `~/.profile`
### 3. Install CMAKE (if cmake < 3.6)
+#### For Linux:
```
$ cmake -version
```
@@ -81,8 +90,21 @@ cmake version 3.10.1
Then export `CMAKE_ROOT` variable to the cmake installation. You can add it to the `./etc/sources.env` file.
```bash
-export CMAKE_ROOT=/opt/cmake-3.10.1
+$ export CMAKE_ROOT=/opt/cmake-3.10.1
+```
+
+#### For OSX:
+
+Install cmake:
+```bash
+$ brew install cmake
+```
+then
+
+```bash
+export CMAKE_ROOT=/usr/local
```
+which can be added to `~/.profile`
### 4. Compile TornadoVM
