summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-08-18 14:10:57 -0700
committerEric Anholt <[email protected]>2016-08-24 11:54:50 -0700
commit78ab62b1e922e191da6b1a04ce645ee5e0363c05 (patch)
treefaed3515a545a492f3efbfe9a92a23be61f08fee
parent084678ccbb018135a835ef40aa16c444139f3e83 (diff)
travis: Upgrade LLVM dependency to 3.5 and enable LLVM drivers.
Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Rhys Kidd <[email protected]>
-rw-r--r--.travis.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index e086173c529..5f489a47fb7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,7 +16,11 @@ addons:
- libexpat1-dev
- libxcb-dri2-0-dev
- libx11-xcb-dev
- - llvm-3.4-dev
+ - llvm-3.5-dev
+ # llvm-config is not in the dev package?
+ - llvm-3.5
+ # LLVM packaging is broken and misses this dep.
+ - libedit-dev
- scons
env:
@@ -95,16 +99,13 @@ install:
- tar -jxvf $LIBXSHMFENCE_VERSION.tar.bz2
- (cd $LIBXSHMFENCE_VERSION && ./configure --prefix=$HOME/prefix && make install)
-# Disabled LLVM (and therefore r300 and r600) because the build fails
-# with "undefined reference to `clock_gettime'" and "undefined
-# reference to `setupterm'" in llvmpipe.
script:
- if test "x$BUILD" = xmake; then
./autogen.sh --enable-debug
- --disable-gallium-llvm
--with-egl-platforms=x11,drm
--with-dri-drivers=i915,i965,radeon,r200,swrast,nouveau
- --with-gallium-drivers=svga,swrast,vc4,virgl
+ --with-gallium-drivers=svga,swrast,vc4,virgl,r300,r600
+ --disable-llvm-shared-libs
;
make && make check;
elif test x$BUILD = xscons; then