[Mesa-dev] [PATCH v2 1/2] .travis.yml: force llvm-3.3 for "make Gallium ST Other"

Gert Wollny gw.fossdev at gmail.com
Thu Sep 14 10:27:41 UTC 2017


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.
---
 .travis.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 246ad30eff..4f7e0f5f1c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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.
-- 
2.13.5



More information about the mesa-dev mailing list