summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2019-11-12 14:56:35 +0100
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2019-11-13 10:52:08 +0100
commitcb19f69ff0604d1a439532253432b048d5af0213 (patch)
treeb3bdababb7ae50d771d2440117b86a26b0a0f4d6 /.gitlab-ci
parent4c1cef68cf767057211ef589278523caffeb3d5b (diff)
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>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/debian-arm64-install.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/.gitlab-ci/debian-arm64-install.sh b/.gitlab-ci/debian-arm64-install.sh
index 3f068f6dddf..c08746b1df2 100644
--- a/.gitlab-ci/debian-arm64-install.sh
+++ b/.gitlab-ci/debian-arm64-install.sh
@@ -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"