File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,18 @@ sudo chmod 755 /usr/bin/vmtest
1010sudo apt-get update -y
1111sudo -E apt-get install --no-install-recommends -y \
1212 binutils cpu-checker ethtool gawk iproute2 iptables iputils-ping \
13- keyutils libasan8 libpcap-dev llvm-dev libz3-4 make zlib1g
13+ keyutils libasan8 libpcap-dev libz3-4 make zlib1g
1414
1515sudo -E apt-get install --no-install-recommends -y \
1616 qemu-guest-agent qemu-kvm qemu-system-arm qemu-system-s390x qemu-system-x86 qemu-utils
17+
18+ # Install specific version of libllvm on Ubuntu
19+ source /etc/os-release
20+ if [[ " $ID " == " ubuntu" ]]; then
21+ wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
22+ CODENAME=$( lsb_release -cs)
23+ echo " deb http://apt.llvm.org/${CODENAME} / llvm-toolchain-${CODENAME} -${LLVM_VERSION} main" | \
24+ sudo tee /etc/apt/sources.list.d/llvm-${LLVM_VERSION} .list
25+ sudo apt-get update -y
26+ sudo apt-get install --no-install-recommends -y libllvm${LLVM_VERSION}
27+ fi
You can’t perform that action at this time.
0 commit comments