Compiler test scripts: added clang

This commit is contained in:
SChernykh
2025-07-06 22:47:18 +02:00
parent 2f51c38549
commit e179208053
8 changed files with 62 additions and 4 deletions
@@ -6,7 +6,7 @@ echo "Installing prerequisites"
export DEBIAN_FRONTEND=noninteractive
apt-get update && apt-get upgrade -yq --no-install-recommends
apt-get install -yq --no-install-recommends ca-certificates curl bzip2 flex git gcc g++ cmake make libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev
apt-get install -yq --no-install-recommends ca-certificates curl bzip2 flex lsb-release wget software-properties-common gnupg git gcc g++ cmake make libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev
echo "Installing GCC 8.5.0"
@@ -120,6 +120,18 @@ mkdir build && cd build
make -j$(nproc)
make install
echo "Installing clang"
cd /root
curl -L -O https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
for i in 17 18 19 20;
do
./llvm.sh $i
done
echo "Cloning the repository"
cd /