• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3set -e
4set -o xtrace
5
6apt-get -y install ca-certificates
7sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
8echo 'deb https://deb.debian.org/debian buster main' >/etc/apt/sources.list.d/buster.list
9apt-get update
10
11apt-get -y install \
12	${EXTRA_LOCAL_PACKAGES} \
13	abootimg \
14	autoconf \
15	automake \
16	bc \
17	bison \
18	ccache \
19	cmake \
20	debootstrap \
21	fastboot \
22	flex \
23	g++ \
24	git \
25	glslang-tools \
26	kmod \
27	libasan6 \
28	libdrm-dev \
29	libelf-dev \
30	libexpat1-dev \
31	libvulkan-dev \
32	libx11-dev \
33	libx11-xcb-dev \
34	libxcb-dri2-0-dev \
35	libxcb-dri3-dev \
36	libxcb-glx0-dev \
37	libxcb-present-dev \
38	libxcb-randr0-dev \
39	libxcb-shm0-dev \
40	libxcb-xfixes0-dev \
41	libxdamage-dev \
42	libxext-dev \
43	libxrandr-dev \
44	libxshmfence-dev \
45	libxxf86vm-dev \
46	llvm-11-dev \
47	meson \
48	pkg-config \
49	python3-mako \
50	python3-pil \
51	python3-pip \
52	python3-requests \
53	python3-setuptools \
54	u-boot-tools \
55	wget \
56	xz-utils \
57	zlib1g-dev
58
59# Not available anymore in bullseye
60apt-get install -y --no-remove -t buster \
61        android-sdk-ext4-utils
62
63pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@ffe4d1b10aab7534489f0c4bbc4c5899df17d3f2
64
65arch=armhf
66. .gitlab-ci/container/cross_build.sh
67
68. .gitlab-ci/container/container_pre_build.sh
69
70# dependencies where we want a specific version
71EXTRA_MESON_ARGS=
72. .gitlab-ci/container/build-libdrm.sh
73
74. .gitlab-ci/container/container_post_build.sh
75