mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-08 09:39:07 +08:00
vmtest: switch to Clang/LLVM 13
Clang 13 became the new nightly version, so switch to it. Also do vmlinux compilation with a bit more parallelism. And account python-docutils installation as part of selftests build. Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This commit is contained in:
committed by
Andrii Nakryiko
parent
767d82caab
commit
f35e87ddc4
@@ -14,12 +14,10 @@ ${VMTEST_ROOT}/build_pahole.sh travis-ci/vmtest/pahole
|
||||
|
||||
travis_fold start install_clang "Installing Clang/LLVM"
|
||||
|
||||
# Install required packages
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main" | sudo tee -a /etc/apt/sources.list
|
||||
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main"
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install clang-12 lld-12 llvm-12
|
||||
sudo apt-get -y install python-docutils # for rst2man
|
||||
sudo apt-get install -y clang-13 lld-13 llvm-13
|
||||
|
||||
travis_fold end install_clang
|
||||
|
||||
|
||||
Reference in New Issue
Block a user