examples/pipeline: fix build
[dpdk.git] / .ci / linux-setup.sh
index 5d3089c..f5ef6b1 100755 (executable)
@@ -1,7 +1,10 @@
 #!/bin/sh -xe
 
+# Builds are run as root in containers, no need for sudo
+[ "$(id -u)" != '0' ] || alias sudo=
+
 # 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'
+sudo python3 -m pip install --upgrade 'meson==0.49.2'
 
 # setup hugepages. error ignored because having hugepage is not mandatory.
 cat /proc/meminfo