Commit a3cd51e5 authored by rusty1s's avatar rusty1s
Browse files

new try

parent 884cb2f4
......@@ -7,23 +7,18 @@ compiler:
matrix:
include:
- name: CUDA 9.2
- name: Linux/CUDA 9.2
env:
- CUDA=9.2.148-1
- CUDA_SHORT=9.2
- UBUNTU_VERSION=ubuntu1804
- name: CUDA 10.1
env:
- CUDA=10.1.168-1
- CUDA_SHORT=10.1
- UBUNTU_VERSION=ubuntu1804
- UBUNTU_VERSION=ubuntu1604
before_install:
- INSTALLER=cuda-repo-${UBUNTU_VERSION}_${CUDA}_amd64.deb
- wget http://developer.download.nvidia.com/compute/cuda/repos/${UBUNTU_VERSION}/x86_64/${INSTALLER}
- sudo dpkg -i ${INSTALLER}
- sudo apt update -qq
- sudo apt install -y cuda-${CUDA_SHORT/./-}
- sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/${UBUNTU_VERSION}/x86_64/7fa2af80.pub
- sudo apt-get update
- sudo apt-get install cuda
- CUDA_HOME=/usr/local/cuda-${CUDA_SHORT}
- LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
- PATH=${CUDA_HOME}/bin:${PATH}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment