get-and-compile-benchmark.sh 596 B

1234567891011121314151617181920212223242526
  1. # Some useful environment variables
  2. BENCHMARK_REPO="https://gogs.heisenberg.ovh/andreagus/rodinia-benchmark.git"
  3. BASE_DIR=`pwd`
  4. # Check if the build direcroty already exists, otherwise create it
  5. if [ ! -d "build" ]; then
  6. mkdir build
  7. fi
  8. cd build
  9. # Create the needed folders
  10. if [ ! -d "rodinia-benchmark" ]; then
  11. git clone $BENCHMARK_REPO
  12. fi
  13. cd rodinia-benchmark
  14. git checkout wip/platform-unification
  15. # Copy the script that time the benchmark in the benchmark directory
  16. cp $BASE_DIR/deploy/time-and-save.sh .
  17. cp -r $BASE_DIR/plot .
  18. # Compile the benchmarks
  19. make clean
  20. make OPENCL -j8