File size: 432 Bytes
3bbb319 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#!/bin/bash
# Install dependencies for Ubuntu
echo "Running on ${CI_OS_NAME} OS."
BASEDIR=$(dirname $0)
source $BASEDIR/defaults.sh
if [[ $WITH_CUDA == true ]]; then
bash $BASEDIR/../ubuntu/install_cuda.sh
fi
if [[ $WITH_CUDNN == true ]]; then
bash $BASEDIR/../ubuntu/install_cudnn_up_to_Ubuntu16.sh
fi
bash $BASEDIR/../ubuntu/install_deps.sh
sudo apt-get -y install libatlas-base-dev
sudo apt-get -y install libopencv-dev
|