From 5c1664fd5f6f3f0bb26a596e04aa7d289b9a0efa Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sun, 9 Sep 2018 10:58:05 +0200 Subject: [PATCH] travis: Compile with gcc-5 TX2 has also gcc-5. The advantage is that this gcc version does not produce some (false?) warnings about uninitialized variables. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 69eb2da..bc665e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: c++ addons: apt: sources: + - ubuntu-toolchain-r-test - sourceline: deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64 / key_url: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/7fa2af80.pub packages: @@ -10,6 +11,7 @@ addons: - libopencv-dev - libfftw3-dev - cuda-command-line-tools-8-0 cuda-cufft-dev-8-0 + - g++-5 env: - CUDA_BIN_PATH=/usr/local/cuda-8.0 -script: make +script: make CC=gcc-5 CXX=g++-5 -- 2.39.2