mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-05 08:14:57 +08:00
64ffe0ad25
https://github.com/LunarG/gfxreconstruct/issues/328 and https://github.com/LunarG/gfxreconstruct/issues/402 are already fixed in the "master" branch. Updated the piglit version so it supports this version. Additionally, LunarG's VulkanTools are not built any more since GFXReconstruct is now able to generate screenshots on its own without using the VK_LAYER_LUNARG_screenshot layer. v2: - Explain the VulkanTools removal in the commit log (Martin). Signed-off-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9032>
82 lines
1.9 KiB
Bash
82 lines
1.9 KiB
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
set -o xtrace
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
apt-get install -y \
|
|
ca-certificates \
|
|
gnupg
|
|
|
|
# Upstream LLVM package repository
|
|
apt-key add .gitlab-ci/container/llvm-snapshot.gpg.key
|
|
echo "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-9 main" >/etc/apt/sources.list.d/llvm9.list
|
|
echo "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-10 main" >/etc/apt/sources.list.d/llvm10.list
|
|
|
|
sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
|
|
echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list
|
|
|
|
# Ephemeral packages (installed for this script and removed again at
|
|
# the end)
|
|
STABLE_EPHEMERAL=" \
|
|
python3-dev \
|
|
python3-pip \
|
|
python3-setuptools \
|
|
python3-wheel \
|
|
"
|
|
|
|
apt-get update
|
|
apt-get dist-upgrade -y
|
|
|
|
apt-get install -y --no-remove \
|
|
git \
|
|
git-lfs \
|
|
libasan5 \
|
|
libexpat1 \
|
|
libllvm10 \
|
|
libllvm9 \
|
|
liblz4-1 \
|
|
libpcre32-3 \
|
|
libpng16-16 \
|
|
libpython3.7 \
|
|
libvulkan1 \
|
|
libwayland-client0 \
|
|
libwayland-server0 \
|
|
libxcb-ewmh2 \
|
|
libxcb-keysyms1 \
|
|
libxcb-randr0 \
|
|
libxcb-xfixes0 \
|
|
libxkbcommon0 \
|
|
libxrandr2 \
|
|
libxrender1 \
|
|
python \
|
|
python3-mako \
|
|
python3-numpy \
|
|
python3-packaging \
|
|
python3-pil \
|
|
python3-requests \
|
|
python3-six \
|
|
python3-yaml \
|
|
python3.7 \
|
|
qt5-default \
|
|
qt5-qmake \
|
|
vulkan-tools \
|
|
waffle-utils \
|
|
xauth \
|
|
xvfb \
|
|
zlib1g
|
|
|
|
apt-get install -y --no-install-recommends \
|
|
$STABLE_EPHEMERAL
|
|
|
|
# Needed for ci-fairy, this revision is able to upload files to MinIO
|
|
# and doesn't depend on git
|
|
pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@0f1abc24c043e63894085a6bd12f14263e8b29eb
|
|
|
|
apt-get purge -y \
|
|
$STABLE_EPHEMERAL \
|
|
gnupg
|
|
|
|
apt-get autoremove -y --purge
|