ci: Move container files into their own dir
[platform/upstream/mesa.git] / .gitlab-ci / container / build-libdrm.sh
1 #!/bin/bash
2
3 set -ex
4
5 export LIBDRM_VERSION=libdrm-2.4.102
6
7 wget https://dri.freedesktop.org/libdrm/$LIBDRM_VERSION.tar.xz
8 tar -xvf $LIBDRM_VERSION.tar.xz && rm $LIBDRM_VERSION.tar.xz
9 cd $LIBDRM_VERSION
10 meson build -D vc4=false -D freedreno=false -D etnaviv=false $EXTRA_MESON_ARGS
11 ninja -C build install
12 cd ..
13 rm -rf $LIBDRM_VERSION
14