Skip to content

Commit

Permalink
vmtests: specify v12 of clang/llvm for now
Browse files Browse the repository at this point in the history
Whatever happened, clang-11 and llvm-11, to which clang/llvm packages resolve,
respectively, are not there anymore. Seems like clang-12/llvm-12 are the
latest now, but for whatever reason clang/llvm don't resolve to them yet.
Hard-code version 12 for now.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
  • Loading branch information
anakryiko committed Aug 7, 2020
1 parent 734b3f0 commit ba8d459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions travis-ci/vmtest/run_vmtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ ${VMTEST_ROOT}/build_pahole.sh travis-ci/vmtest/pahole
# 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 apt-get -qq update
sudo apt-get -qq -y install clang lld llvm
sudo apt-get update
sudo apt-get -y install clang-12 lld-12 llvm-12

# Build selftests (and latest kernel, if necessary)
KERNEL="${KERNEL}" ${VMTEST_ROOT}/prepare_selftests.sh travis-ci/vmtest/bpf-next
Expand Down

0 comments on commit ba8d459

Please sign in to comment.