# Some useful environment variables BENCHMARK_REPO="https://gogs.heisenberg.ovh/andreagus/rodinia-benchmark.git" BASE_DIR=`pwd` # Check if the build direcroty already exists, otherwise create it if [ ! -d "build" ]; then mkdir build fi cd build # Create the needed folders if [ ! -d "rodinia-benchmark" ]; then git clone $BENCHMARK_REPO fi cd rodinia-benchmark git checkout wip/platform-unification # Copy the script that time the benchmark in the benchmark directory cp $BASE_DIR/deploy/time-and-save.sh . cp -r $BASE_DIR/plot . # Compile the benchmarks make clean make OPENCL -j8