build: define mesa host dependencies

This commit is contained in:
osy
2026-02-21 12:35:15 -08:00
parent bee451d6ef
commit e89c580ed3
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -87,6 +87,7 @@ jobs:
run: |
brew uninstall cmake
brew install bison pkg-config gettext glib-utils libgpg-error nasm make meson cmake
brew install llvm spirv-llvm-translator libxcb libxrandr
pip3 install --break-system-packages --user six pyparsing pyyaml setuptools distlib mako
gem install --user-install xcpretty
rm -f /usr/local/lib/pkgconfig/*.pc
+3
View File
@@ -68,6 +68,9 @@ python_module_test () {
check_env () {
command -v brew >/dev/null 2>&1 || { echo >&2 "${RED}Homebrew is required to be installed.${NC}"; exit 1; }
brew --prefix llvm >/dev/null 2>&1 || { echo >&2 "${RED}You must install 'llvm' from Homebrew.${NC}"; exit 1; }
brew --prefix spirv-llvm-translator >/dev/null 2>&1 || { echo >&2 "${RED}You must install 'spirv-llvm-translator' from Homebrew.${NC}"; exit 1; }
brew --prefix libxcb >/dev/null 2>&1 || { echo >&2 "${RED}You must install 'libxcb' from Homebrew.${NC}"; exit 1; }
brew --prefix libxrandr >/dev/null 2>&1 || { echo >&2 "${RED}You must install 'libxrandr' from Homebrew.${NC}"; exit 1; }
command -v python3 >/dev/null 2>&1 || { echo >&2 "${RED}You must install 'python3' on your host machine.${NC}"; exit 1; }
python_module_test six >/dev/null 2>&1 || { echo >&2 "${RED}'six' not found in your Python 3 installation.${NC}"; exit 1; }
python_module_test pyparsing >/dev/null 2>&1 || { echo >&2 "${RED}'pyparsing' not found in your Python 3 installation.${NC}"; exit 1; }