projects
/
dev-env-setup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
042b382
)
add mesa build dependencies
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 17 Jul 2022 16:13:27 +0000
(16:13 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 17 Jul 2022 16:13:37 +0000
(16:13 +0000)
lsoc-mesa-dev-env-setup
patch
|
blob
|
history
diff --git
a/lsoc-mesa-dev-env-setup
b/lsoc-mesa-dev-env-setup
index 64d6a1918d05eea6507083cf54c20c84a87ed79f..fded6d75c8e37905477b16369678ae771e3f724c 100755
(executable)
--- a/
lsoc-mesa-dev-env-setup
+++ b/
lsoc-mesa-dev-env-setup
@@
-1,6
+1,7
@@
#!/bin/bash
#!/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
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 ..
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
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 ..
meson -Dbuildtype=debug -Dprefix=/home/$USER/src/lsoc_mesa \
-Dvulkan-drivers=libre-soc ..
-ninja install
+ninja
-f ~/src/build.ninja
install