travis: add ubuntu-toolchain-r-test
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 6 Aug 2018 10:12:09 +0000 (12:12 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Tue, 7 Aug 2018 17:27:07 +0000 (19:27 +0200)
LLVM 6.0 requires libstc++4.9, which is not available in main Travis
repository.

v2: LLVM 6.0 requires libstdc+4.9, rather than GCC 4.9 (Jan Vesely)

Fixes: fd1121e8399 ("amd: remove support for LLVM 5.0")
CC: Marek Olšák <marek.olsak@amd.com>
CC: Emil Velikov <emil.velikov@collabora.com>
CC: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
.travis.yml

index f7cb85942d92d3350d8decf48d359398c60c7d2c..9e45eca8d644e8f41bb86d04ce167de735ffd502 100644 (file)
@@ -137,6 +137,8 @@ matrix:
         apt:
           sources:
             - llvm-toolchain-trusty-6.0
+            # llvm-6 depends on gcc-4.9 which is not in main repo
+            - ubuntu-toolchain-r-test
           packages:
             # LLVM packaging is broken and misses these dependencies
             - libedit-dev
@@ -378,6 +380,8 @@ matrix:
         apt:
           sources:
             - llvm-toolchain-trusty-6.0
+            # llvm-6 depends on gcc-4.9 which is not in main repo
+            - ubuntu-toolchain-r-test
           packages:
             # LLVM packaging is broken and misses these dependencies
             - libedit-dev