summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-31 08:30:55 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-10-31 12:35:36 -0400
commit38d17532c672a213d9c7a7fc184b32c80c0df517 (patch)
treee81a9ed0736e666c9d33cea24369ee5e3f4ae91d /scripts
parent86230821e4da9605f5ac4a53d011835d37fc73e4 (diff)
downloadqtlocation-mapboxgl-38d17532c672a213d9c7a7fc184b32c80c0df517.tar.gz
use binary mesa on travis to speed up build times
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis_before_install.sh28
1 files changed, 7 insertions, 21 deletions
diff --git a/scripts/travis_before_install.sh b/scripts/travis_before_install.sh
index f67aa270d6..2af2f7ae0f 100755
--- a/scripts/travis_before_install.sh
+++ b/scripts/travis_before_install.sh
@@ -24,30 +24,16 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
libboost1.55-dev libcurl4-openssl-dev \
libpng-dev libsqlite3-dev
- mapbox_time "install_mesa_deps" \
- sudo apt-get install -y libpthread-stubs0-dev \
- xserver-xorg-dev x11proto-xinerama-dev libx11-xcb-dev \
- libxcb-glx0-dev libxrender-dev llvm-3.4 mesa-utils && \
- sudo apt-get build-dep -y libgl1-mesa-dri libxcb-glx0-dev
-
- mapbox_time "build_mesa" \
- curl -sfo MesaLib-10.3.1.tar.gz http://ftp.de.debian.org/debian/pool/main/m/mesa/mesa_10.3.1.orig.tar.gz && \
- tar -zxf MesaLib-10.3.1.tar.gz && \
- cd Mesa-10.3.1 && \
- ./autogen.sh --with-gallium-drivers=svga,swrast --disable-dri \
- --enable-xlib-glx --enable-glx-tls --with-llvm-prefix=/usr/lib/llvm-3.4 \
- --without-va && \
- echo $CXXFLAGS
- echo $CFLAGS
- echo $LDFLAGS
- make -j$JOBS && sudo make install && \
- cd ../
-
mapbox_time "install_opengl" \
- sudo apt-get -y install libxi-dev x11proto-randr-dev \
+ sudo apt-get -y install mesa-utils libxi-dev x11proto-randr-dev \
x11proto-xext-dev libxrandr-dev \
x11proto-xf86vidmode-dev libxxf86vm-dev \
- libxcursor-dev libxinerama-dev
+ libxcursor-dev libxinerama-dev \
+ llvm-3.4 # required for mesa
+
+
+ mapbox_time "install_mesa" \
+ mason install mesa 10.3.1
mapbox_time "install_awscli" \
sudo pip install awscli