From 714879566595ef204bbde847ae9207e5f62ed7f7 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Sat, 16 Sep 2017 18:55:48 -0400 Subject: [PATCH] travis: Add clover build using llvm-5.0 Signed-off-by: Jan Vesely Reviewed-by: Eric Engestrom --- .travis.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.travis.yml b/.travis.yml index 478a6d7993e..d9a8bf5a9d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -226,6 +226,42 @@ matrix: - libx11-xcb-dev - libelf-dev - libunwind8-dev + - env: + # NOTE: Analogous to SWR above, building Clover is quite slow. + - LABEL="make Gallium ST Clover LLVM-5.0" + - BUILD=make + - MAKEFLAGS="-j4" + - MAKE_CHECK_COMMAND="true" + - LLVM_VERSION=5.0 + - LLVM_CONFIG="llvm-config-${LLVM_VERSION}" + - OVERRIDE_CC=gcc-4.8 + - OVERRIDE_CXX=g++-4.8 + - 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" + - GALLIUM_DRIVERS="r600,radeonsi" + - VULKAN_DRIVERS="" + - LIBUNWIND_FLAGS="--enable-libunwind" + addons: + apt: + sources: + - llvm-toolchain-trusty-5.0 + packages: + - libclc-dev + # LLVM packaging is broken and misses these dependencies + - libedit-dev + - g++-4.8 + # From sources above + - llvm-5.0-dev + - clang-5.0 + - libclang-5.0-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.30.2