Skip to content
Snippets Groups Projects
Commit 48e88e20 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: trixie has no unstable in dist

parent 2d4c2595
No related branches found
No related tags found
1 merge request!781chore: clang-16
This commit is part of merge request !781. Comments created here will be created in the context of that merge request.
......@@ -91,9 +91,12 @@ case ${ID} in
esac
# Clang version and repository
CLANG="-16"
if [ ${VERSION_CODENAME} = trixie ] ; then VERSION_CODENAME=unstable ; fi
curl -s https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
echo "deb http://apt.llvm.org/${VERSION_CODENAME} llvm-toolchain-${VERSION_CODENAME}${CLANG} main" > /etc/apt/sources.list.d/llvm.list
if [ ${VERSION_CODENAME} = trixie ] ; then
echo "deb http://apt.llvm.org/unstable llvm-toolchain${CLANG} main" > /etc/apt/sources.list.d/llvm.list
else
echo "deb http://apt.llvm.org/${VERSION_CODENAME} llvm-toolchain-${VERSION_CODENAME}${CLANG} main" > /etc/apt/sources.list.d/llvm.list
fi
# Install packages
apt-get -yqq update
apt-get -yqq install gcc${GCC} g++${GCC} gfortran${GCC}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment