mirror of
https://github.com/utmapp/UTM.git
synced 2026-10-12 02:24:01 +00:00
build: define mesa host dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user