]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Travis: Install CUDA only in builds where we need them
authorMichal Sojka <michal.sojka@cvut.cz>
Tue, 25 Sep 2018 05:35:28 +0000 (07:35 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Tue, 25 Sep 2018 10:25:37 +0000 (12:25 +0200)
.travis.yml

index 70659fcb2c35dfc24db0d3d283723d43464c5175..e45251f590bea208477f2771bc2f00e4c45396c1 100644 (file)
@@ -11,7 +11,6 @@ addons:
       - ninja-build
       - libopencv-dev
       - libfftw3-dev
-      - cuda-command-line-tools-8-0 cuda-cufft-dev-8-0 cuda-cublas-dev-8-0
 
 env:
   - CUDA_BIN_PATH=/usr/local/cuda-8.0 CXXFLAGS=-Werror CUDA_ARCH_LIST=6.2 NINJA_STATUS="[%f/%t] "
@@ -27,6 +26,7 @@ matrix:
           packages:
             - *common_packages
             - g++-5
+            - cuda-command-line-tools-8-0 cuda-cufft-dev-8-0 cuda-cublas-dev-8-0
       script: make CC=gcc-5 CXX=g++-5
     - compiler: clang-3.8
       addons:
@@ -35,6 +35,7 @@ matrix:
           packages:
             - *common_packages
             - clang-3.8
+            - cuda-command-line-tools-8-0 cuda-cufft-dev-8-0 cuda-cublas-dev-8-0
       script: make CC=clang-3.8 CXX=clang++-3.8 $(make print_BUILDS|grep -v openmp)
     - compiler: clang
       name: clang & test