mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-09 18:19:06 +08:00
vmtests: revert to Clang/LLVM 12 until Clang 13 regression is fixed
Clang 13 regressed BPF code generation causing some of BPF selftests to fail. Until that is mitigated, stick to version 12. Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This commit is contained in:
committed by
Andrii Nakryiko
parent
f35e87ddc4
commit
adaf538bca
@@ -8,7 +8,7 @@ travis_fold start prepare_selftests "Building selftests"
|
|||||||
|
|
||||||
sudo apt-get -y install python-docutils # for rst2man
|
sudo apt-get -y install python-docutils # for rst2man
|
||||||
|
|
||||||
LLVM_VER=13
|
LLVM_VER=12
|
||||||
LIBBPF_PATH="${REPO_ROOT}"
|
LIBBPF_PATH="${REPO_ROOT}"
|
||||||
REPO_PATH="travis-ci/vmtest/bpf-next"
|
REPO_PATH="travis-ci/vmtest/bpf-next"
|
||||||
|
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ ${VMTEST_ROOT}/build_pahole.sh travis-ci/vmtest/pahole
|
|||||||
travis_fold start install_clang "Installing Clang/LLVM"
|
travis_fold start install_clang "Installing Clang/LLVM"
|
||||||
|
|
||||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||||
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main"
|
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-12 main"
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y clang-13 lld-13 llvm-13
|
sudo apt-get install -y clang-12 lld-12 llvm-12
|
||||||
|
|
||||||
travis_fold end install_clang
|
travis_fold end install_clang
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user