order seems to matter

This commit is contained in:
ohfp 2021-04-21 11:15:20 +02:00
parent 9e90fb3a9b
commit 5af02721e8
No known key found for this signature in database
GPG key ID: 2954CC8585E27A3F

View file

@ -54,14 +54,14 @@ apt-get -y -qq install $_DEPENDENCIES;
if [[ $CARCH == 'x86_64' ]];then
# Installs (non-ancient) clang
apt install -y software-properties-common apt-transport-https ca-certificates
apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main"
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add
apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main"
apt-get update
apt-get -y install clang-11 libclang-11-dev
else
apt install -y software-properties-common apt-transport-https ca-certificates
apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main"
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add
apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main"
apt-get update
apt-get -y install clang-10 libclang-10-dev
fi