Paweł Bylica
8 years ago
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
2 changed files with
2 additions and
1 deletions
-
.travis.yml
-
scripts/install-cuda-trusty.sh
|
|
@ -14,6 +14,7 @@ matrix: |
|
|
|
cache: |
|
|
|
directories: |
|
|
|
- $HOME/.hunter/_Base/Cache |
|
|
|
- $HOME/.local |
|
|
|
before_install: |
|
|
|
- if [[ "$CUDA" = ON ]]; then source scripts/install-cuda-trusty.sh; fi |
|
|
|
- if [ "$TRAVIS_OS_NAME" = linux ]; then scripts/install_cmake.sh; fi |
|
|
|
|
|
@ -14,7 +14,7 @@ travis_retry sudo dpkg -i cuda-repo-ubuntu1404_${CUDA_VER}_amd64.deb |
|
|
|
travis_retry sudo apt-get update -qq |
|
|
|
export CUDA_APT=${CUDA_VER:0:3} |
|
|
|
export CUDA_APT=${CUDA_APT/./-} |
|
|
|
travis_retry sudo apt-get install -qy cuda-drivers cuda-core-${CUDA_APT} cuda-cudart-dev-${CUDA_APT} |
|
|
|
travis_retry sudo apt-get install -qy cuda-core-${CUDA_APT} cuda-cudart-dev-${CUDA_APT} |
|
|
|
travis_retry sudo apt-get clean |
|
|
|
export CUDA_HOME=/usr/local/cuda-${CUDA_VER:0:3} |
|
|
|
export PATH=${CUDA_HOME}/bin:${PATH} |
|
|
|