trying with forward slashes

This commit is contained in:
Stefano Sinigardi 2021-01-24 01:05:28 +01:00
parent da15b141f0
commit dcc38312fe
2 changed files with 13 additions and 16 deletions

View File

@ -376,7 +376,7 @@ jobs:
buildWithCMakeArgs: '--target install' buildWithCMakeArgs: '--target install'
win-vcpkg-cuda: win-vcpkg-cuda-ninja:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -386,15 +386,17 @@ jobs:
$env:ChocolateyInstall = Convert-Path "$((Get-Command choco).Path)\..\.." $env:ChocolateyInstall = Convert-Path "$((Get-Command choco).Path)\..\.."
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
refreshenv refreshenv
#echo "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo $env:PATH
- uses: lukka/get-cmake@latest - uses: lukka/get-cmake@latest
- name: Restore from cache and run vcpkg - name: Restore from cache and run vcpkg
env: env:
CUDA_PATH: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2" CUDA_PATH: "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2"
CUDA_PATH_V10_2: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2" CUDA_PATH_V10_2: "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2"
CUDA_TOOLKIT_ROOT_DIR: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2" CUDA_TOOLKIT_ROOT_DIR: "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2"
CUDACXX: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2\\bin\\nvcc.exe" CUDACXX: "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/bin/nvcc.exe"
uses: lukka/run-vcpkg@v6 uses: lukka/run-vcpkg@v6
with: with:
setupOnly: true setupOnly: true
@ -406,10 +408,10 @@ jobs:
- name: 'Build with CMake and Ninja' - name: 'Build with CMake and Ninja'
env: env:
CUDA_PATH: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2" CUDA_PATH: "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2"
CUDA_PATH_V10_2: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2" CUDA_PATH_V10_2: "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2"
CUDA_TOOLKIT_ROOT_DIR: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2" CUDA_TOOLKIT_ROOT_DIR: "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2"
CUDACXX: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2\\bin\\nvcc.exe" CUDACXX: "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/bin/nvcc.exe"
uses: lukka/run-cmake@v3 uses: lukka/run-cmake@v3
with: with:
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
@ -515,11 +517,6 @@ jobs:
- uses: lukka/get-cmake@latest - uses: lukka/get-cmake@latest
- name: 'Build with CMake and Ninja' - name: 'Build with CMake and Ninja'
env:
CUDA_PATH: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2"
CUDA_PATH_V10_2: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2"
CUDA_TOOLKIT_ROOT_DIR: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2"
CUDACXX: "C:\\Program\ Files\\NVIDIA\ GPU\ Computing\ Toolkit\\CUDA\\v10.2\\bin\\nvcc.exe"
uses: lukka/run-cmake@v3 uses: lukka/run-cmake@v3
with: with:
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced cmakeListsOrSettingsJson: CMakeListsTxtAdvanced

View File

@ -209,8 +209,8 @@ matrix:
- LD_LIBRARY_PATH="/usr/local/cuda-${INSTALL_CUDA_VERSION}/lib64:/usr/local/cuda-${INSTALL_CUDA_VERSION}/lib64/stubs:${LD_LIBRARY_PATH}" - LD_LIBRARY_PATH="/usr/local/cuda-${INSTALL_CUDA_VERSION}/lib64:/usr/local/cuda-${INSTALL_CUDA_VERSION}/lib64/stubs:${LD_LIBRARY_PATH}"
- MATRIX_EVAL="wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.2.89-1_amd64.deb && sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub && sudo dpkg -i cuda-repo-ubuntu1804_10.2.89-1_amd64.deb && wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb && sudo dpkg -i nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb && sudo apt-get -y update && sudo apt-get install -y --no-install-recommends cuda-compiler-10-2 cuda-libraries-dev-10-2 cuda-driver-dev-10-2 cuda-cudart-dev-10-2 cuda-curand-dev-10-2 && sudo apt-get install -y --no-install-recommends libcudnn7-dev && sudo ln -s /usr/local/cuda-${INSTALL_CUDA_VERSION}/lib64/stubs/libcuda.so /usr/local/cuda-${INSTALL_CUDA_VERSION}/lib64/stubs/libcuda.so.1" - MATRIX_EVAL="wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.2.89-1_amd64.deb && sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub && sudo dpkg -i cuda-repo-ubuntu1804_10.2.89-1_amd64.deb && wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb && sudo dpkg -i nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb && sudo apt-get -y update && sudo apt-get install -y --no-install-recommends cuda-compiler-10-2 cuda-libraries-dev-10-2 cuda-driver-dev-10-2 cuda-cudart-dev-10-2 cuda-curand-dev-10-2 && sudo apt-get install -y --no-install-recommends libcudnn7-dev && sudo ln -s /usr/local/cuda-${INSTALL_CUDA_VERSION}/lib64/stubs/libcuda.so /usr/local/cuda-${INSTALL_CUDA_VERSION}/lib64/stubs/libcuda.so.1"
# allow_failures: allow_failures:
# - name: macOS - clang - vcpkg - name: macOS - clang - vcpkg
before_install: before_install:
- travis_retry eval "${MATRIX_EVAL}" - travis_retry eval "${MATRIX_EVAL}"