123456789101112131415 |
- # Output message for the user
- echo "We are installing the dependencies"
- 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"
- sleep 10
- # Install all the dependencies needed for compiling the runtime, the benchmarks and the power measurement utility
- sudo apt-get update && sudo apt-get upgrade -y
- 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
- # Install the python dependencies for the creation of the charts with python
- sudo apt-get install -y python python-pip python-tk python-numpy python-matplotlib python-seaborn
- # Instruct matplotlib to not use the default X backend
- mkdir -p ~/.config/matplotlib/
- echo "backend : Agg" > ~/.config/matplotlib/matplotlibrc
|