mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-05 08:09:07 +08:00
vmtests: fix libc6 dependency and remove explicit libelf-dev install
Force libc6 dependency version. Drop explicit libelf-dev install command, as it should be pre-installed by Travis CI already, according to .travis.yaml. Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This commit is contained in:
committed by
Andrii Nakryiko
parent
4ccc1f0b9f
commit
9e123fa5d2
@@ -3,11 +3,8 @@ set -eux
|
||||
|
||||
RELEASE="focal"
|
||||
|
||||
echo "deb-src http://archive.ubuntu.com/ubuntu/ $RELEASE main restricted universe multiverse" >>/etc/apt/sources.list
|
||||
|
||||
apt-get update
|
||||
apt-get -y build-dep libelf-dev
|
||||
apt-get install -y libelf-dev pkg-config
|
||||
apt-get install -y pkg-config
|
||||
|
||||
source "$(dirname $0)/travis_wait.bash"
|
||||
|
||||
|
||||
@@ -17,7 +17,9 @@ travis_fold start install_clang "Installing Clang/LLVM"
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal main"
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y clang-13 lld-13 llvm-13
|
||||
sudo apt-get install --allow-downgrades -y libc6=2.31-0ubuntu9.2
|
||||
sudo aptitude install -y g++ libelf-dev
|
||||
sudo aptitude install -y clang-13 lld-13 llvm-13
|
||||
|
||||
travis_fold end install_clang
|
||||
|
||||
|
||||
Reference in New Issue
Block a user