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:
Andrii Nakryiko 2021-02-08 18:12:11 -08:00 committed by Andrii Nakryiko
parent f35e87ddc4
commit adaf538bca
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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