From e0fff37f70d98338138150d5a5c43d696bc99efc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Tue, 5 Nov 2019 16:24:35 +0100 Subject: [PATCH] gitlab-ci: Don't build libdrm for ARM The Debian packages work fine. Saves a little bit of time and disk space. Reviewed-by: Eric Anholt --- .gitlab-ci/debian-arm64-install.sh | 12 +----------- .gitlab-ci/debian-arm64-test-install.sh | 10 +--------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/.gitlab-ci/debian-arm64-install.sh b/.gitlab-ci/debian-arm64-install.sh index 95647fd64ee..3f068f6dddf 100644 --- a/.gitlab-ci/debian-arm64-install.sh +++ b/.gitlab-ci/debian-arm64-install.sh @@ -17,6 +17,7 @@ apt-get -y install \ flex \ g++ \ gettext \ + libdrm-dev \ libdrm-dev:armhf \ libelf-dev \ libelf-dev:armhf \ @@ -41,17 +42,6 @@ sed -i "s|/usr/bin/\([^-]*\)-linux-gnu\([^-]*\)-g|/usr/lib/ccache/\\1-linux-gnu\ # Don't need wrapper for armhf executables sed -i -e '/\[properties\]/a\' -e "needs_exe_wrapper = False" "$cross_file" -export LIBDRM_VERSION=libdrm-2.4.99 - -############### Build libdrm - -wget https://dri.freedesktop.org/libdrm/$LIBDRM_VERSION.tar.bz2 -tar -xvf $LIBDRM_VERSION.tar.bz2 && rm $LIBDRM_VERSION.tar.bz2 -cd $LIBDRM_VERSION; meson build/ -Detnaviv=true; ninja -C build/ install; cd .. -rm -rf $LIBDRM_VERSION - -############### Uninstall the build software - apt-get purge -y \ wget diff --git a/.gitlab-ci/debian-arm64-test-install.sh b/.gitlab-ci/debian-arm64-test-install.sh index bc7233e4bdc..e80ba60f7cf 100644 --- a/.gitlab-ci/debian-arm64-test-install.sh +++ b/.gitlab-ci/debian-arm64-test-install.sh @@ -15,6 +15,7 @@ apt-get -y install \ gcc \ git \ libc6-dev \ + libdrm-nouveau2 \ libexpat1 \ libgbm-dev \ libgbm-dev \ @@ -29,15 +30,6 @@ apt-get -y install \ wget \ zlib1g -export LIBDRM_VERSION=libdrm-2.4.99 - -############### Build libdrm - -wget https://dri.freedesktop.org/libdrm/$LIBDRM_VERSION.tar.bz2 -tar -xvf $LIBDRM_VERSION.tar.bz2 && rm $LIBDRM_VERSION.tar.bz2 -cd $LIBDRM_VERSION; meson build/ -Detnaviv=true; ninja -C build/ install; cd .. -rm -rf $LIBDRM_VERSION - ############### Build dEQP git config --global user.email "mesa@example.com" -- 2.30.2