From: Luke Kenneth Casson Leighton Date: Sun, 17 Jul 2022 16:13:27 +0000 (+0000) Subject: add mesa build dependencies X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3323cef07ffb9dac821711d7d151447353e499a;p=dev-env-setup.git add mesa build dependencies --- diff --git a/lsoc-mesa-dev-env-setup b/lsoc-mesa-dev-env-setup index 64d6a19..fded6d7 100755 --- a/lsoc-mesa-dev-env-setup +++ b/lsoc-mesa-dev-env-setup @@ -1,6 +1,7 @@ #!/bin/bash -sudo apt-get -y install meson +sudo apt-get -y install meson libpciaccess-dev +sudo apt-get -y install python3-mako libdrm-dev mkdir -p ~/src/lsoc_mesa cd ~/src @@ -9,7 +10,7 @@ git clone https://gitlab.freedesktop.org/mesa/drm.git cd drm mkdir build && cd build meson -Dbuildtype=release -Dprefix=/home/$USER/src/lsoc_mesa .. -ninja install +ninja -f ~/src/build.ninja install export PKG_CONFIG_PATH=~/src/lsoc_mesa/lib/x86_64-linux-gnu/pkgconfig/ export VK_ICD_FILENAMES=/home/$USER/src/lsoc_mesa/share/vulkan/icd.d/libresoc_icd.x86_64.json @@ -25,4 +26,4 @@ mkdir build && cd build meson -Dbuildtype=debug -Dprefix=/home/$USER/src/lsoc_mesa \ -Dvulkan-drivers=libre-soc .. -ninja install +ninja -f ~/src/build.ninja install