~mmach/netext73/mesa_2004

« back to all changes in this revision

Viewing changes to .gitlab-ci/container/arm_build.sh

  • Committer: mmach
  • Date: 2021-07-04 19:28:58 UTC
  • Revision ID: netbit73@gmail.com-20210704192858-3dzjz3h2a015l3mq
2021-07-04 21:20:24

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 main' >/etc/apt/sources.list.d/buster.list
9
 
apt-get update
10
 
 
11
 
EPHEMERAL="
12
 
        python3-pytest-runner
13
 
        python3-wheel
14
 
        "
15
 
 
16
 
apt-get -y install \
17
 
        abootimg \
18
 
        autoconf \
19
 
        automake \
20
 
        bc \
21
 
        bison \
22
 
        ccache \
23
 
        cmake \
24
 
        debootstrap \
25
 
        fastboot \
26
 
        flex \
27
 
        g++ \
28
 
        git \
29
 
        kmod \
30
 
        libasan6 \
31
 
        libdrm-dev \
32
 
        libelf-dev \
33
 
        libexpat1-dev \
34
 
        libx11-dev \
35
 
        libx11-xcb-dev \
36
 
        libxcb-dri2-0-dev \
37
 
        libxcb-dri3-dev \
38
 
        libxcb-glx0-dev \
39
 
        libxcb-present-dev \
40
 
        libxcb-randr0-dev \
41
 
        libxcb-shm0-dev \
42
 
        libxcb-xfixes0-dev \
43
 
        libxdamage-dev \
44
 
        libxext-dev \
45
 
        libxrandr-dev \
46
 
        libxshmfence-dev \
47
 
        libxxf86vm-dev \
48
 
        llvm-11-dev \
49
 
        meson \
50
 
        pkg-config \
51
 
        python-is-python3 \
52
 
        python3-aiohttp \
53
 
        python3-jinja2 \
54
 
        python3-mako \
55
 
        python3-pil \
56
 
        python3-pip \
57
 
        python3-requests \
58
 
        python3-setuptools \
59
 
        python3-yaml \
60
 
        python3-zmq \
61
 
        u-boot-tools \
62
 
        unzip \
63
 
        wget \
64
 
        xz-utils \
65
 
        zlib1g-dev \
66
 
        $EPHEMERAL
67
 
 
68
 
# Update lavacli to v1.1+
69
 
pip3 install git+https://git.lavasoftware.org/lava/lavacli@3db3ddc45e5358908bc6a17448059ea2340492b7
70
 
 
71
 
# Not available anymore in bullseye
72
 
apt-get install -y --no-remove -t buster \
73
 
        android-sdk-ext4-utils
74
 
 
75
 
pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366
76
 
 
77
 
apt-get purge -y $EPHEMERAL
78
 
 
79
 
arch=armhf
80
 
. .gitlab-ci/container/cross_build.sh
81
 
 
82
 
. .gitlab-ci/container/container_pre_build.sh
83
 
 
84
 
# dependencies where we want a specific version
85
 
EXTRA_MESON_ARGS=
86
 
. .gitlab-ci/container/build-libdrm.sh
87
 
 
88
 
. .gitlab-ci/container/container_post_build.sh