test/bonding: fix RSS test when disable RSS
[dpdk.git] / .ci / linux-setup.sh
1 #!/bin/sh -xe
2
3 # Builds are run as root in containers, no need for sudo
4 [ "$(id -u)" != '0' ] || alias sudo=
5
6 # need to install as 'root' since some of the unit tests won't run without it
7 sudo python3 -m pip install --upgrade 'meson==0.49.2'
8
9 # setup hugepages. error ignored because having hugepage is not mandatory.
10 cat /proc/meminfo
11 sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages' || true
12 cat /proc/meminfo