Files
Le Philousophe 737891c163 ALL: Upgrade toolchains to Debian Bookworm
GCW0 toolchain can't be built anymore as Mesa build requires Python 2
which is not available anymore.
Helper packages got upgraded and configure arguments and several
patches must be updated.
New GCC defaults to a too modern C++ version to compile old GCC.
Debian now provides a modern enough CLang hence switching to it.
2023-08-13 10:43:06 +00:00

37 lines
625 B
Bash
Executable File

#! /bin/sh
HELPERS_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
set -e
set -x
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
automake \
ca-certificates \
cmake \
curl \
debhelper \
dpkg-dev \
git \
gnupg \
less \
libtool \
make \
meson \
pkg-config \
python3 \
python-is-python3 \
quilt \
unzip \
vim \
wget
rm -rf /var/lib/apt/lists/*
sed 's/^Types: deb$/Types: deb-src/' /etc/apt/sources.list.d/debian.sources \
> /etc/apt/sources.list.d/debian-src.sources
if [ -f "$HELPERS_DIR"/prepare-platform.sh ]; then
. "$HELPERS_DIR"/prepare-platform.sh
fi