build mesa 10.3.1, install libva with root login shell, ref travis-ci/travis-ci#2607

This commit is contained in:
Mike Morris
2014-10-20 17:34:26 -04:00
parent 4c3debb9d7
commit 898b27eb34

View File

@@ -33,11 +33,12 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
git clone git://anongit.freedesktop.org/git/vaapi/libva && \
cd libva && \
./autogen.sh && \
make && sudo make install && \
make && sudo -i make install && \
cd ../
mapbox_time "build_mesa" \
git clone git://anongit.freedesktop.org/git/mesa/mesa && \
git checkout mesa-10.3.1 && \
cd mesa && \
./autogen.sh --with-gallium-drivers=svga,swrast --disable-dri \
--enable-xlib-glx --enable-glx-tls --with-llvm-prefix=/usr/lib/llvm-3.4 && \