[Mesa-dev] [PATCH RFC 3/7] travis: Add clover build using llvm-3.7

Jan Vesely jan.vesely at rutgers.edu
Sun Sep 17 02:05:41 UTC 2017


Disable for now, travis does not allow llvm-3.7 trusty toolchain

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
This patch is included just for completeness.
I'm not sure what the right approach is here
travis is probably not going to include 3.7 toolchain:
https://github.com/travis-ci/apt-source-whitelist/issues/199
https://github.com/travis-ci/apt-source-whitelist/pull/205


 .travis.yml | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 0012d27dc7..a2df2073d1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -151,6 +151,45 @@ matrix:
             - libx11-xcb-dev
             - libelf-dev
             - libunwind8-dev
+#    - env:
+#        # Disable for now since travis does not allow llvm-toolchain-trusty-3.7
+#        # NOTE: Analogous to SWR above, building Clover is quite slow.
+#        - LABEL="make Gallium ST Clover LLVM-3.7"
+#        - BUILD=make
+#        - MAKEFLAGS="-j4"
+#        - MAKE_CHECK_COMMAND="true"
+#        - LLVM_VERSION=3.7
+#        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
+#        - OVERRIDE_CC=gcc-4.7
+#        - OVERRIDE_CXX=g++-4.7
+#        - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
+#        - DRI_DRIVERS=""
+#        - GALLIUM_ST="--disable-dri --enable-opencl --enable-opencl-icd --enable-llvm --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
+#        # i915 most likely doesn't work with OpenCL.
+#        # Regardless - we're doing a quick build test here.
+#        - GALLIUM_DRIVERS="i915"
+#        - VULKAN_DRIVERS=""
+#        - LIBUNWIND_FLAGS="--enable-libunwind"
+#      addons:
+#        apt:
+#          sources:
+#            - llvm-toolchain-trusty-3.7
+#          packages:
+#            - libclc-dev
+#            # LLVM packaging is broken and misses these dependencies
+#            - libedit-dev
+#            - g++-4.7
+#            # From sources above
+#            - llvm-3.7-dev
+#            - clang-3.7
+#            - libclang-3.7-dev
+#            # Common
+#            - xz-utils
+#            - x11proto-xf86vidmode-dev
+#            - libexpat1-dev
+#            - libx11-xcb-dev
+#            - libelf-dev
+#            - libunwind8-dev
     - env:
         - LABEL="make Gallium ST Other"
         - BUILD=make
-- 
2.13.5



More information about the mesa-dev mailing list