Module: Mesa
Branch: master
Commit: d3675812b53ae5583d693859c4973ccca9a9fb2e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3675812b53ae5583d693859c4973ccca9a9fb2e

Author: Gert Wollny <gw.foss...@gmail.com>
Date:   Thu Sep 14 12:27:41 2017 +0200

travis: force llvm-3.3 for "make Gallium ST Other"

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-sta...@lists.freedesktop.org
Reviewed-by: Eric Engestrom <eric.engest...@imgtec.com>
Reviewed-by: Emil Velikov <emil.veli...@collabora.com>

---

 .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.

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to