• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3set -e
4set -o xtrace
5
6export DEBIAN_FRONTEND=noninteractive
7
8apt-get install -y ca-certificates gnupg2 software-properties-common
9
10# Add llvm 13 to the build image
11apt-key add .gitlab-ci/container/debian/llvm-snapshot.gpg.key
12add-apt-repository "deb https://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-13 main"
13
14sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
15
16# Ephemeral packages (installed for this script and removed again at
17# the end)
18STABLE_EPHEMERAL=" \
19        python3-pip \
20        python3-setuptools \
21        "
22
23apt-get update
24
25apt-get install -y --no-remove \
26        $STABLE_EPHEMERAL \
27        bison \
28        ccache \
29        dpkg-cross \
30        flex \
31        g++ \
32        cmake \
33        gcc \
34        git \
35        glslang-tools \
36        kmod \
37        libclang-13-dev \
38        libclang-11-dev \
39        libclang-9-dev \
40        libclc-dev \
41        libelf-dev \
42        libepoxy-dev \
43        libexpat1-dev \
44        libgtk-3-dev \
45        libllvm13 \
46        libllvm11 \
47        libllvm9 \
48        libomxil-bellagio-dev \
49        libpciaccess-dev \
50        libunwind-dev \
51        libva-dev \
52        libvdpau-dev \
53        libvulkan-dev \
54        libx11-dev \
55        libx11-xcb-dev \
56        libxext-dev \
57        libxml2-utils \
58        libxrandr-dev \
59        libxrender-dev \
60        libxshmfence-dev \
61        libxvmc-dev \
62        libxxf86vm-dev \
63        make \
64        meson \
65        pkg-config \
66        python3-mako \
67        python3-pil \
68        python3-requests \
69        qemu-user \
70        valgrind \
71        wget \
72        x11proto-dri2-dev \
73        x11proto-gl-dev \
74        x11proto-randr-dev \
75        xz-utils \
76        zlib1g-dev
77
78# Needed for ci-fairy, this revision is able to upload files to MinIO
79pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@ffe4d1b10aab7534489f0c4bbc4c5899df17d3f2
80
81. .gitlab-ci/container/debian/x86_build-base-wine.sh
82
83############### Uninstall ephemeral packages
84
85apt-get purge -y $STABLE_EPHEMERAL
86
87. .gitlab-ci/container/container_post_build.sh
88