Skip to content

Instantly share code, notes, and snippets.

@andrew-mcmahon
Created January 3, 2020 16:18
Show Gist options
  • Save andrew-mcmahon/59117fff714ee6c0e817f3c631f384da to your computer and use it in GitHub Desktop.
Save andrew-mcmahon/59117fff714ee6c0e817f3c631f384da to your computer and use it in GitHub Desktop.
#!/bin/sh
rm -rvf _build
git pull
meson _build \
-D buildtype=release \
-D prefix=/opt/mesa/ \
-D platforms=x11,wayland,drm,surfaceless \
-D dri-drivers='' \
-D gallium-drivers=radeonsi,svga,swrast \
-D vulkan-drivers=amd \
-D dri3=true \
-D vulkan-overlay-layer=true \
-D gallium-extra-hud=true \
-D gallium-nine=true \
-D gallium-omx=disabled \
-D gallium-opencl=icd \
-D gallium-va=true \
-D gallium-vdpau=true \
-D gallium-xa=true \
-D gallium-xvmc=false \
-D gbm=true \
-D egl=true \
-D gles1=true \
-D gles2=true \
-D glvnd=false \
-D llvm=true \
-D lmsensors=true \
-D osmesa=gallium \
-D shared-glapi=true \
meson configure _build
ninja -C _build install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment