gitlab-ci: build a specific libdrm version for ARM64

RADV requires libdrm-2.4.100 but the distrib package is too old.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Samuel Pitoiset
2019-11-12 14:56:35 +01:00
parent 4c1cef68cf
commit cb19f69ff0
2 changed files with 9 additions and 2 deletions

View File

@@ -17,7 +17,6 @@ apt-get -y install \
flex \
g++ \
gettext \
libdrm-dev \
libdrm-dev:armhf \
libelf-dev \
libelf-dev:armhf \
@@ -33,6 +32,14 @@ apt-get -y install \
wget \
zlib1g-dev
# dependencies where we want a specific version
export LIBDRM_VERSION=libdrm-2.4.100
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 -D vc4=true -D freedreno=true -D etnaviv=true; ninja -j4 -C build install; cd ..
rm -rf $LIBDRM_VERSION
############### Generate cross build file for Meson
cross_file="/cross_file-armhf.txt"