2025-02-17 11:05:18 +02:00
|
|
|
#!/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
|
|
|
|
|
2025-02-17 11:05:18 +02:00
|
|
|
if test ! -d venv; then
|
|
|
|
python3 -m venv ./venv
|
|
|
|
./venv/bin/pip install --upgrade pip
|
2025-02-20 15:33:23 +02:00
|
|
|
./venv/bin/pip install git+https://github.com/mesonbuild/meson.git
|
2025-02-17 11:05:18 +02:00
|
|
|
fi
|
|
|
|
# shellcheck disable=SC1091
|
|
|
|
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
|
|
|
. ./venv/bin/activate
|
|
|
|
|
|
|
|
meson "${@}"
|