1234567891011121314151617181920212223242526272829 |
- # Some useful environment variables
- BENCHMARK_REPO="https://gogs.heisenberg.ovh/andreagus/rodinia-benchmark.git"
- BASE_DIR=`pwd`
- # Output message for the user
- echo "We are retrieving, building and installing the benchmark suite"
- sleep 10
- # 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
- # 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
|