[Libclc-dev] [PATCH] travis: Add LLVM-8 build

Jan Vesely via Libclc-dev libclc-dev at lists.llvm.org
Wed Mar 20 22:29:43 PDT 2019


Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
 .travis.yml | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 89c7585..0c99920 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -86,6 +86,23 @@ matrix:
             # From sources above
             - llvm-7-dev
             - clang-7
+    - env:
+        - LABEL="make gcc LLVM-8"
+        - LLVM_VERSION=8
+        - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600--.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
+        - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
+      addons:
+        apt:
+          sources:
+            - sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-8 main'
+              key_url: https://apt.llvm.org/llvm-snapshot.gpg.key
+            - ubuntu-toolchain-r-test
+          packages:
+            - libedit-dev
+            - g++-6
+            # From sources above
+            - llvm-8-dev
+            - clang-8
     - env:
         - LABEL="cmake gcc LLVM-3.9"
         - LLVM_VERSION=3.9
@@ -163,6 +180,23 @@ matrix:
             # From sources above
             - llvm-7-dev
             - clang-7
+    - env:
+        - LABEL="cmake gcc LLVM-8"
+        - LLVM_VERSION=8
+        - CHECK_FILES="barts-r600--.bc cayman-r600--.bc cedar-r600--.bc cypress-r600--.bc tahiti-amdgcn--.bc amdgcn--amdhsa.bc tahiti-amdgcn-mesa-mesa3d.bc nvptx--nvidiacl.bc nvptx64--nvidiacl.bc"
+        - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
+      addons:
+        apt:
+          sources:
+            - sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-8 main'
+              key_url: https://apt.llvm.org/llvm-snapshot.gpg.key
+            - ubuntu-toolchain-r-test
+          packages:
+            - libedit-dev
+            - g++-6
+            # From sources above
+            - llvm-8-dev
+            - clang-8
 
 before_install:
     - eval "${MATRIX_EVAL}"
-- 
2.19.2



More information about the Libclc-dev mailing list