[Mesa-dev] [PATCH 10/13] travis: add "scons swr" to the build matrix

Emil Velikov emil.l.velikov at gmail.com
Fri Apr 7 19:05:43 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Requires GCC 5.0 (due to the C++14 requirement) and LLVM 3.9.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 .travis.yml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index ebacf90c79d..36d614c21a8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -79,6 +79,30 @@ matrix:
             - libexpat1-dev
             - libx11-xcb-dev
             - libelf-dev
+    # scons SWR seems to be Windows only, for now
+#    - env:
+#        - LABEL="scons SWR"
+#        - BUILD=scons
+#        - SCONS_TARGET="swr=1"
+#        - LLVM_VERSION=3.9
+#        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
+#        - OVERRIDE_CC=gcc-5
+#        - OVERRIDE_CXX=g++-5
+#      addons:
+#        apt:
+#          sources:
+#            - ubuntu-toolchain-r-test
+#            - llvm-toolchain-trusty-3.9
+#          packages:
+#            - scons
+#            # From sources above
+#            - g++-5
+#            - llvm-3.9-dev
+#            # Common
+#            - x11proto-xf86vidmode-dev
+#            - libexpat1-dev
+#            - libx11-xcb-dev
+#            - libelf-dev
 
 install:
   - pip install --user mako
@@ -162,5 +186,7 @@ script:
     fi
 
   - if test "x$BUILD" = xscons; then
+      test $OVERRIDE_CC && export CC=$OVERRIDE_CC;
+      test $OVERRIDE_CXX && export CXX=$OVERRIDE_CXX;
       scons $SCONS_TARGET && scons $SCONS_TARGET check;
     fi
-- 
2.11.1



More information about the mesa-dev mailing list