blob: b1495d81568b9e7558d0bbc157bf9795f4aa1f43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/bash
set -e
echo ::group::Install xdp-test-harness
sudo python3 -m pip install xdp_test_harness
echo ::endgroup::
echo ::group::Install virtme
git clone https://github.com/amluto/virtme
sudo python3 -m pip install ./virtme
echo ::endgroup::
if [[ $KERNEL_VERSION == "LATEST" ]]; then
echo ::group::Install pahole
# In the repo there is only version 1.15 and we need newer.
git clone https://git.kernel.org/pub/scm/devel/pahole/pahole.git
mkdir pahole/build
cd pahole/build
cmake -D__LIB=lib ..
sudo make install
sudo ldconfig /usr/local/lib
echo ::endgroup::
fi
|