CompilePanfrost.sh 661 B

1234567891011121314
  1. #!/bin/bash
  2. sudo apt -y install git libx11-dev meson pkg-config python3-setuptools python3-mako zlib1g-dev libexpat1-dev libdrm-dev bison flex libwayland-dev wayland-protocols libwayland-egl-backend-dev libxext-dev libxdamage-dev libx11-xcb-dev libxcb-glx0-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-present-dev libxshmfence-dev libxxf86vm-dev libxrandr-dev gettext
  3. sudo apt -y install mesa-utils
  4. cd /tmp
  5. git clone https://gitlab.freedesktop.org/mesa/mesa -b master
  6. cd mesa
  7. mkdir build
  8. cd build
  9. meson .. . -Dprefix=/usr -Ddri-drivers= -Dvulkan-drivers= -Dgallium-drivers=panfrost,kmsro,swrast -Dlibunwind=false
  10. sudo ninja install
  11. echo "You may now reboot"