Commit b111a8cb authored by rusty1s's avatar rusty1s
Browse files

add nvcc to path

parent 27b934a8
language: shell language: shell
os: os:
# - linux - linux
# - osx # - osx
- windows - windows
...@@ -9,7 +9,7 @@ env: ...@@ -9,7 +9,7 @@ env:
global: global:
- CUDA_HOME=/usr/local/cuda - CUDA_HOME=/usr/local/cuda
jobs: jobs:
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cpu - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cpu
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92 # - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu100 # - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu100
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu101 # - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu101
......
...@@ -78,15 +78,11 @@ fi ...@@ -78,15 +78,11 @@ fi
if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
wget -nv "https://developer.nvidia.com/compute/cuda/${CUDA_SHORT}/Prod2/local_installers2/cuda_${CUDA}_win10" wget -nv "https://developer.nvidia.com/compute/cuda/${CUDA_SHORT}/Prod2/local_installers2/cuda_${CUDA}_win10"
ls
PowerShell -Command "Start-Process -FilePath \"cuda_${CUDA}_win10\" -ArgumentList \"-s nvcc_${CUDA_SHORT}\" -Wait -NoNewWindow" PowerShell -Command "Start-Process -FilePath \"cuda_${CUDA}_win10\" -ArgumentList \"-s nvcc_${CUDA_SHORT}\" -Wait -NoNewWindow"
ls /c
ls /c/Program\ Files\ \(x86\)
# ls /c/Program\ Files\ \(x86\)/NVIDIA\ GPU\ Computing\ Toolkit
# ls /c/Program\ Files\ \(x86\)/NVIDIA\ GPU\ Computing\ Toolkit/CUDA
# ls /c/Program\ Files\ \(x86\)/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v9.2
ls /c/Program\ Files ls /c/Program\ Files
# ls /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit ls /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit
# ls /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA ls /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA
# ls /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v9.2 ls /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v${CUDA_SHORT}
PATH=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v${CUDA_SHORT}/bin:$PATH
nvcc --version
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