travis: force llvm-3.3 for "make Gallium ST Other"
authorGert Wollny <gw.fossdev@gmail.com>
Thu, 14 Sep 2017 10:27:41 +0000 (12:27 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 15 Sep 2017 12:56:28 +0000 (13:56 +0100)
In Ubuntu Trusty the default version of llvm is 3.4 and the build was
actually randomly picking 3.5 or 3.9. Adding libunwind would then result
is build success or failure depending of what version was picked.

Install the llvm-3.3-dev package and force its use: On one hand it is
the minimum required version we want to the build test against, and on
the other hand forcing the version stabilizes the build.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
.travis.yml

index 246ad30eff40e5e82cff7b74d6c262472b057a74..4f7e0f5f1c86c530c27a96a3caa2bced3ec16223 100644 (file)
@@ -149,6 +149,8 @@ matrix:
         - BUILD=make
         - MAKEFLAGS="-j4"
         - MAKE_CHECK_COMMAND="true"
+        - LLVM_VERSION=3.3
+        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
         - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
         - DRI_DRIVERS=""
         - GALLIUM_ST="--enable-dri --disable-opencl --enable-xa --enable-nine --enable-xvmc --enable-vdpau --enable-va --enable-omx --enable-gallium-osmesa"
@@ -160,6 +162,8 @@ matrix:
       addons:
         apt:
           packages:
+            # We actually want to test against llvm-3.3
+            - llvm-3.3-dev
             # Nine requires gcc 4.6... which is the one we have right ?
             - libxvmc-dev
             # Build locally, for now.