ci: Use a rootfs tarball for NFS root, instead of a ramdisk (for LAVA)
[mesa.git] / .gitlab-ci / container / arm_build.sh
1 #!/bin/bash
2
3 set -e
4 set -o xtrace
5
6 apt-get -y install ca-certificates
7 sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
8 echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list
9 apt-get update
10 apt-get -y install \
11 abootimg \
12 android-sdk-ext4-utils \
13 autoconf \
14 automake \
15 bc \
16 bison \
17 ccache \
18 cmake \
19 debootstrap \
20 fastboot \
21 flex \
22 g++ \
23 git \
24 lavacli \
25 libdrm-dev \
26 libelf-dev \
27 libexpat1-dev \
28 llvm-8-dev \
29 pkg-config \
30 python \
31 python3-mako \
32 python3-pil \
33 python3-requests \
34 python3-pip \
35 python3-setuptools \
36 unzip \
37 wget \
38 xz-utils \
39 zlib1g-dev
40
41 pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366
42
43 apt install -y --no-remove -t buster-backports \
44 meson
45
46 arch=armhf
47 . .gitlab-ci/container/cross_build.sh
48
49 . .gitlab-ci/container/container_pre_build.sh
50
51 # dependencies where we want a specific version
52 EXTRA_MESON_ARGS=
53 . .gitlab-ci/build-libdrm.sh
54
55 . .gitlab-ci/container/container_post_build.sh