README file updated - install process to the last tornado version
# Installing Tornado #
- - `$ git clone https://bitbucket.org/clarksoj/tornado_maven.git tornado`
- - `$ cd tornado`
- - `$ git checkout develop`
- - `$ vi etc/tornado.env`
- - `$ (copy and paste the following - but update paths)`
+```bash
+ $ git clone https://github.com/beehive-lab/tornado.git tornado
+ $ cd tornado
+ $ vim etc/tornado.env
+```
+
+Copy and paste the following - but update paths into the etc/tornado.env file:
```bash
#!/bin/bash
-
-export JAVA_HOME=<path to jvmci 8 jdk>
+export JAVA_HOME=<path to jvmci 8 jdk with JVMCI>
export GRAAL_ROOT=<path to graal.jar>
export TORNADO_ROOT=<path to cloned git dir>
@@ -21,26 +22,32 @@ else
fi
```
- - `$ . etc/tornado.env`
- - `$ mvn -DskipTests package`
- - `$ cd drivers/opencl/jni-bindings`
- - `$ autoreconf -f -i -s`
- - `$ ./configure --prefix=${PWD} --with-jdk=${JAVA_HOME}`
- - `...`
- - `$ make && make install`
+Then set the enviroment variables and compile as follows:
+
+```bash
+$ . etc/tornado.env
+$ mvn -DskipTests package
+$ cd drivers/opencl/jni-bindings
+$ autoreconf -f -i -s
+$ ./configure --prefix=${PWD} --with-jdk=${JAVA_HOME}
+$ make && make install
+```
-Complete
+Complete!
# Running Examples #
[Optional]
- - `$ . etc/tornado.env`
-
- - `$ tornado tornado.examples.HelloWorld`
+```bash
+$ . etc/tornado.env
+$ tornado tornado.examples.HelloWorld
+```
# Running Benchmarks #
- - `$ tornado tornado.benchmarks.BenchmarkRunner tornado.benchmarks.sadd.Benchmark`
+```bash
+$ tornado tornado.benchmarks.BenchmarkRunner tornado.benchmarks.sadd.Benchmark
+```
