[Mesa-dev] [PATCH v3 2/2] travis: Add test for gcc-4.4 compiler tool chain

Gert Wollny gw.fossdev at gmail.com
Tue Oct 3 07:31:05 UTC 2017


Add a build check for g++-4.4 which is the oldest gcc based compiler
directly supported in the travis ubuntu/trusty build environment, and
one of the compilers that don't have full c++11 support, i.e. it
doesn't understand the compiler flag -std=c++11.
---
 .travis.yml | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index d9a8bf5a9d..efd22d5921 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -85,6 +85,37 @@ matrix:
             - libelf-dev
             - libunwind8-dev
     - env:
+        - LABEL="make Gallium Drivers Other, pre c++11 compiler"
+        - BUILD=make
+        - MAKEFLAGS="-j4"
+        - MAKE_CHECK_COMMAND="make check -j4"
+        - OVERRIDE_CC="gcc-4.4"
+        - OVERRIDE_CXX="g++-4.4"
+        - 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 --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
+        - GALLIUM_DRIVERS="i915,swrast"
+        - VULKAN_DRIVERS=""
+        - LIBUNWIND_FLAGS="--enable-libunwind"
+      addons:
+        apt:
+          packages:
+            # LLVM packaging is broken and misses these dependencies
+            - libedit-dev
+            - llvm-3.3-dev
+            - g++-4.4
+            - gcc-4.4
+            # Common
+            - xz-utils
+            - x11proto-xf86vidmode-dev
+            - libexpat1-dev
+            - libx11-xcb-dev
+            - libelf-dev
+            - libunwind8-dev
+
+    - env:
         - LABEL="make Gallium Drivers Other"
         - BUILD=make
         - MAKEFLAGS="-j4"
-- 
2.13.5



More information about the mesa-dev mailing list