Skip to content

Commit 186b751

Browse files
committed
export cuda home
1 parent b2429e7 commit 186b751

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,9 @@ before_install:
3131
- sudo apt update -qq
3232
- sudo apt install -y cuda-core-${CUDA_SHORT/./-} cuda-cudart-dev-${CUDA_SHORT/./-} cuda-cufft-dev-${CUDA_SHORT/./-}
3333
- sudo apt clean
34-
- CUDA_HOME=/usr/local/cuda-${CUDA_SHORT}
35-
- LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
36-
- PATH=${CUDA_HOME}/bin:${PATH}
37-
- wget https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip
38-
- unzip ninja-linux.zip
39-
- PATH=${PATH}:${PWD}
34+
- export CUDA_HOME=/usr/local/cuda-${CUDA_SHORT}
35+
- export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
36+
- export PATH=${CUDA_HOME}/bin:${PATH}
4037
- python3.6 -m grpc_tools.protoc --python_out cusim/ --proto_path cusim/proto/ config.proto
4138

4239
script:

0 commit comments

Comments
 (0)