update lsoc-mesa-dev-env-setup as now it builds and installs sucessfully
authorCole Poirier <colepoirier@gmail.com>
Thu, 10 Sep 2020 23:37:49 +0000 (16:37 -0700)
committerCole Poirier <colepoirier@gmail.com>
Thu, 10 Sep 2020 23:37:49 +0000 (16:37 -0700)
lsoc-mesa-dev-env-setup

index 1b75db4ee03348b0fe0378f826e6f99e318cef5d..2439580dc09e2240213a0d3418348e68e21520ff 100755 (executable)
@@ -7,9 +7,14 @@ mkdir build && cd build
 meson -Dbuildtype=release -Dprefix=/home/$USER/opt/lsoc_mesa ..
 ninja install
 export PKG_CONFIG_PATH=~/opt/lsoc_mesa/lib/x86_64-linux-gnu/pkgconfig/
 meson -Dbuildtype=release -Dprefix=/home/$USER/opt/lsoc_mesa ..
 ninja install
 export PKG_CONFIG_PATH=~/opt/lsoc_mesa/lib/x86_64-linux-gnu/pkgconfig/
+export VK_ICD_FILENAMES=/home/$USER/opt/lsoc_mesa/share/vulkan/icd.d/libresoc_icd.x86_64.json
+export VK_LOADER_DEBUG=warn
+export LIBRESOC_TRACE=1
 cd ~/opt
 cd ~/opt
-git clone https://gitlab.freedesktop.org/mesa/mesa.git
+git clone https://git.libre-soc.org/git/mesa.git
 cd mesa
 cd mesa
+git pull --rebase origin libresoc_dev
+git checkout -b libresoc_dev
 mkdir build && cd build
 mkdir build && cd build
-meson -Dbuildtype=debug -Dprefix=/home/$USER/opt/lsoc_mesa
+meson -Dbuildtype=debug -Dprefix=/home/$USER/opt/lsoc_mesa -Dvulkan-drivers=libre-soc ..
 ninja install
 ninja install