Commit 8259f2c2 authored by rusty1s's avatar rusty1s
Browse files

update

parent aa1b2ced
...@@ -31,7 +31,7 @@ jobs: ...@@ -31,7 +31,7 @@ jobs:
language: python language: python
python: 3.7.6 python: 3.7.6
env: env:
- IDX=100 - IDX=cu100
- CUDA_SHORT=10.0 - CUDA_SHORT=10.0
- CUDA=10.0.130-1 - CUDA=10.0.130-1
- UBUNTU_VERSION=ubuntu1804 - UBUNTU_VERSION=ubuntu1804
......
#!/bin/bash #!/bin/bash
if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${DEVICE}" != "cpu" ]; then if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${IDX}" != "cpu" ]; then
INSTALLER=cuda-repo-${UBUNTU_VERSION}_${CUDA}_amd64.deb INSTALLER=cuda-repo-${UBUNTU_VERSION}_${CUDA}_amd64.deb
wget "http://developer.download.nvidia.com/compute/cuda/repos/${UBUNTU_VERSION}/x86_64/${INSTALLER}" wget "http://developer.download.nvidia.com/compute/cuda/repos/${UBUNTU_VERSION}/x86_64/${INSTALLER}"
sudo dpkg -i "${INSTALLER}" sudo dpkg -i "${INSTALLER}"
...@@ -15,7 +15,7 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${DEVICE}" != "cpu" ]; then ...@@ -15,7 +15,7 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${DEVICE}" != "cpu" ]; then
nvcc --version nvcc --version
fi fi
if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${DEVICE}" != "cpu" ]; then if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
wget "https://developer.nvidia.com/compute/cuda/${CUDA_SHORT}/Prod2/local_installers2/cuda_${CUDA}_win10" wget "https://developer.nvidia.com/compute/cuda/${CUDA_SHORT}/Prod2/local_installers2/cuda_${CUDA}_win10"
# ./cuda_${CUDA}_win10.exe # ./cuda_${CUDA}_win10.exe
fi fi
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