1Notes for macOS 2================ 3 4.. image:: https://github.com/mesa3d/mesa/actions/workflows/ci.yml/badge.svg 5 :target: https://github.com/mesa3d/mesa/actions/workflows/ci.yml 6 :alt: macOS CI 7 8Mesa builds on macOS without modifications. However, there are some details to 9be aware of. 10 11- Mesa has a number of build-time dependencies. Most dependencies, including 12 Meson itself, are available in `homebrew <https://brew.sh>`_, which has a 13 Mesa package for reference. The exception seems to be Mako, a Python module 14 used for templating, which you can install as `pip3 install mako`. 15- macOS is picky about its build-time environment. Type `brew sh` before 16 building to get the Homebrew dependencies in your path. 17 18Mesa's default builds with the Apple GLX uses Mesa as a front for the 19hardware-accelerated system OpenGL framework, to provide hardware acceleration 20to X11 applications on macOS running via XQuartz. 21 22Mesa's software rasterizers also work on macOS. To build, set the build options 23``-Dosmesa=true -Dglx=xlib`` and select an appropriate Gallium software 24rasterizer. 25 26For native hardware, stay tuned for updates here! 27