2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00
kea/meson.sh

21 lines
614 B
Bash
Raw Normal View History

#!/bin/sh
2025-02-20 15:33:23 +02:00
# Pulls the latest meson that has fix https://github.com/mesonbuild/meson/pull/13532
# for issue https://github.com/mesonbuild/meson/issues/11322.
#
# Usage: just like meson
# Example: ./meson.sh setup build
if test ! -d venv; then
python3 -m venv ./venv
./venv/bin/pip install --upgrade pip
2025-02-24 14:52:14 +02:00
# When meson 1.8 will be released, we can pin the versions.
2025-02-20 15:33:23 +02:00
./venv/bin/pip install git+https://github.com/mesonbuild/meson.git
2025-02-24 14:52:14 +02:00
./venv/bin/pip install ninja
fi
# shellcheck disable=SC1091
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
. ./venv/bin/activate
meson "${@}"