diff options
author | Jan Vesely <[email protected]> | 2017-09-16 18:54:24 -0400 |
---|---|---|
committer | Jan Vesely <[email protected]> | 2017-09-29 12:14:34 -0400 |
commit | 8af90b59f917fea8a7d954ecea658f904bb3f073 (patch) | |
tree | 2462b80bd58a37c7726bab3c111f86eab5770ddd /.travis.yml | |
parent | b9a358a3e6c8a05eacf308105e42057a55a3e00c (diff) |
travis: Add clover build using llvm-4.0
llvm-4 needs gcc 4.8:
http://releases.llvm.org/4.0.1/docs/ReleaseNotes.html#non-comprehensive-list-of-changes-in-this-release
Signed-off-by: Jan Vesely <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 97fb21d2f99..478a6d7993e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -191,6 +191,42 @@ matrix: - libelf-dev - libunwind8-dev - env: + # NOTE: Analogous to SWR above, building Clover is quite slow. + - LABEL="make Gallium ST Clover LLVM-4.0" + - BUILD=make + - MAKEFLAGS="-j4" + - MAKE_CHECK_COMMAND="true" + - LLVM_VERSION=4.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-4.0 + packages: + - libclc-dev + # LLVM packaging is broken and misses these dependencies + - libedit-dev + - g++-4.8 + # From sources above + - llvm-4.0-dev + - clang-4.0 + - libclang-4.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 - MAKEFLAGS="-j4" |