mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-27 13:57:26 +03:00
test: pin meson to 0.52.1 for fuzzit/fuzzbuzz
Latest meson doesn't work with older python 3.5, which is present on Ubuntu 16.04. Let's pin in to the latest working version (0.52.1) until we properly bump all necessary Ubuntu images to 18.04. See: https://github.com/mesonbuild/meson/issues/6427
This commit is contained in:
parent
06ae8800d0
commit
514793658c
@ -5,7 +5,11 @@ setup:
|
||||
- sudo apt-get update -y
|
||||
- sudo apt-get build-dep -y systemd
|
||||
- sudo apt-get install -y python3-pip
|
||||
- pip3 install meson ninja
|
||||
# FIXME: temporarily pin the meson version as 0.53 doesn't work with older
|
||||
# python 3.5
|
||||
# # See: https://github.com/mesonbuild/meson/issues/6427
|
||||
#
|
||||
- pip3 install meson==0.52.1 ninja
|
||||
- export PATH="$HOME/.local/bin/:$PATH"
|
||||
- CC=$FUZZ_CC CXX=$FUZZ_CXX meson -Dfuzzbuzz=true -Dfuzzbuzz-engine-dir=$(dirname "$FUZZ_ENGINE") -Dfuzzbuzz-engine=$(cut -d. -f1 <(basename "$FUZZ_ENGINE")) -Db_lundef=false ./build
|
||||
- ninja -v -C ./build fuzzers
|
||||
|
@ -32,6 +32,10 @@ if [ -z "$FUZZING_ENGINE" ]; then
|
||||
fuzzflag="llvm-fuzz=true"
|
||||
fi
|
||||
|
||||
# FIXME: temporarily pin the meson version as 0.53 doesn't work with older python 3.5
|
||||
# See: https://github.com/mesonbuild/meson/issues/6427
|
||||
pip3 install meson==0.52.1
|
||||
|
||||
meson $build -D$fuzzflag -Db_lundef=false
|
||||
ninja -v -C $build fuzzers
|
||||
|
||||
|
@ -10,7 +10,9 @@ sudo bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restri
|
||||
sudo apt-get update -y
|
||||
sudo apt-get build-dep systemd -y
|
||||
sudo apt-get install -y ninja-build python3-pip python3-setuptools quota
|
||||
pip3 install meson
|
||||
# FIXME: temporarily pin the meson version as 0.53 doesn't work with older python 3.5
|
||||
# See: https://github.com/mesonbuild/meson/issues/6427
|
||||
pip3 install meson==0.52.1
|
||||
|
||||
cd $REPO_ROOT
|
||||
export PATH="$HOME/.local/bin/:$PATH"
|
||||
|
@ -14,7 +14,9 @@ sudo bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restri
|
||||
sudo apt-get update -y
|
||||
sudo apt-get build-dep systemd -y
|
||||
sudo apt-get install -y ninja-build python3-pip python3-setuptools
|
||||
pip3 install meson
|
||||
# FIXME: temporarily pin the meson version as 0.53 doesn't work with older python 3.5
|
||||
# See: https://github.com/mesonbuild/meson/issues/6427
|
||||
pip3 install meson==0.52.1
|
||||
|
||||
cd $REPO_ROOT
|
||||
export PATH="$HOME/.local/bin/:$PATH"
|
||||
|
Loading…
x
Reference in New Issue
Block a user