summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/.ci/linux-setup.sh
blob: 5d3089cadd628357dd6a19aadf29c39029530598 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh -xe

# need to install as 'root' since some of the unit tests won't run without it
sudo python3 -m pip install --upgrade 'meson==0.47.1'

# setup hugepages. error ignored because having hugepage is not mandatory.
cat /proc/meminfo
sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages' || true
cat /proc/meminfo