install-requirements.sh 1015 B

123456789101112131415
  1. # Output message for the user
  2. echo "We are installing the dependencies"
  3. echo "During the installation we require to insert the sudo password to install packages and do other administrator level stuff, such installing the OpenCL runtime"
  4. sleep 10
  5. # Install all the dependencies needed for compiling the runtime, the benchmarks and the power measurement utility
  6. sudo apt-get update && sudo apt-get upgrade -y
  7. sudo apt-get install -y vim build-essential flex bison libtool libncurses5* git-core htop cmake libhwloc-dev libclang-3.8-dev clang-3.8 and llvm-3.8-dev zlib1g ocl-icd-libopencl1 clinfo libglew-dev time gnuplot clinfo ocl-icd-dev ocl-icd-opencl-dev qt4-qmake libqt4-dev libusb-1.0-0-dev
  8. # Install the python dependencies for the creation of the charts with python
  9. sudo apt-get install -y python python-pip python-tk python-numpy python-matplotlib python-seaborn
  10. # Instruct matplotlib to not use the default X backend
  11. mkdir -p ~/.config/matplotlib/
  12. echo "backend : Agg" > ~/.config/matplotlib/matplotlibrc