mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-12 11:44:53 +08:00
af0fde955c
Among other things, this gets us GCC 10 (was 6). Requires some changes to third party components we use: * Install apitrace (& waffle) from Debian; was hitting issues with the local build, and it's the same version 9.0 anyway. * Update Fossilize to a newer commit which builds with GCC 10. * apt.llvm.org repositories are no longer needed. * Use an SPIRV-LLVM-Translator commit which builds with LLVM 11.0.1. * Install XCB packages from Debian, 1.13 fails to build with Python 3.9. * Install wayland-protocols from Debian, 1.12 is too old for libgtk-3-dev in bullseye. LLVM 7/8 packages are no longer available. Also adapt expected test results to Xvfb now exposing multi-samle GLXFBConfigs. v2: * Install clang instead of clang-11. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3124 Reviewed-by: Eric Anholt <eric@anholt.net> # v1 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
set -o xtrace
|
|
|
|
############### Install packages for baremetal testing
|
|
apt-get install -y ca-certificates
|
|
sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
|
|
apt-get update
|
|
|
|
apt-get install -y --no-remove \
|
|
abootimg \
|
|
cpio \
|
|
fastboot \
|
|
netcat \
|
|
nginx-full \
|
|
procps \
|
|
python-is-python3 \
|
|
python3-distutils \
|
|
python3-minimal \
|
|
python3-serial \
|
|
rsync \
|
|
snmp \
|
|
unzip \
|
|
wget
|
|
|
|
# setup nginx
|
|
sed -i '/gzip_/ s/#\ //g' /etc/nginx/nginx.conf
|
|
cp .gitlab-ci/bare-metal/nginx-default-site /etc/nginx/sites-enabled/default
|
|
|
|
# setup SNMPv2 SMI MIB
|
|
wget https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/SNMPv2-SMI.txt \
|
|
-O /usr/share/snmp/mibs/SNMPv2-SMI.txt
|
|
|
|
arch=arm64 . .gitlab-ci/container/baremetal_build.sh
|
|
arch=armhf . .gitlab-ci/container/baremetal_build.sh
|
|
|
|
# This firmware file from Debian bullseye causes hangs
|
|
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/qcom/a530_pfp.fw?id=d5f9eea5a251d43412b07f5295d03e97b89ac4a5 \
|
|
-O /rootfs-arm64/lib/firmware/qcom/a530_pfp.fw
|