We need to use a later version of Meson than is currently available in the Alpine repository. Use the existing `install-meson.sh` to fetch the appropriate version from PyPI. This requires that we explicitly install a Ninja impl on Alpine - Samurai is the preferred impl and by using this we do not need to prefix `PATH` to access Ninja. `apk` installed Installed packages are additionally sorted. Signed-off-by: Matt Jolly <kangie@gentoo.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33725>
13 lines
295 B
Bash
13 lines
295 B
Bash
#!/usr/bin/env bash
|
|
|
|
# When changing this file, you need to bump the following
|
|
# .gitlab-ci/image-tags.yml tags:
|
|
# ALPINE_X86_64_BUILD_TAG
|
|
# DEBIAN_BUILD_TAG
|
|
# FEDORA_X86_64_BUILD_TAG
|
|
|
|
rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED
|
|
|
|
# We need at least 1.4.0 for rusticl
|
|
pip3 install 'meson==1.4.0'
|