diff --git a/scripts/InstallScripts/PanfrostCompile.sh b/scripts/InstallScripts/PanfrostCompile.sh new file mode 100755 index 0000000..c1e7455 --- /dev/null +++ b/scripts/InstallScripts/PanfrostCompile.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +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 +sudo apt -y install mesa-utils + +cd /tmp +git clone https://gitlab.freedesktop.org/mesa/mesa -b "19.2" +cd mesa +mkdir build +cd build +meson .. . -Ddri-drivers= -Dvulkan-drivers= -Dgallium-drivers=panfrost,kmsro -Dlibunwind=false +sudo ninja install + +echo "You may now reboot"