From: lkcl Date: Tue, 25 Aug 2020 13:21:27 +0000 (+0100) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~2214 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9a4501b42eaf72dd47dc767972def264240b612;hp=c426e6cdc86d2990b35bc23e119e20adcd858cc9;p=libreriscv.git --- diff --git a/3d_gpu/mesa.mdwn b/3d_gpu/mesa.mdwn index 9f3b9df3d..b6e12dd09 100644 --- a/3d_gpu/mesa.mdwn +++ b/3d_gpu/mesa.mdwn @@ -1,3 +1,31 @@ # MESA Driver sponsored by NLNet todo http://lists.libre-soc.org/pipermail/libre-soc-dev/2020-August/000246.html + +# build instructions, by vivek + +Sure I will add details about how to build the code, I use basically meson +and ninja commands, +My build directory located in mesa source here is my meson command to +configure (I know this does more work than require please add more options +if you find useful): + + meson -Dbuildtype=debug -Dprefix=/home/vivek/install -Dvulkan-drivers=libresoc .. + +and then + + ninja + ninja install. + +I also have script to set few environment variables like + + export VK_ICD_FILENAMES=/home/vivek/install/share/vulkan/icd.d/libresoc_icd.x86_64.json + export VK_LOADER_DEBUG=warn + export LIBRESOC_TRACE=1 + +To test the code I am sing simple tests built by + https://github.com/GameTechDev/IntroductionToVulkan + +I am also using debug build for vulkan loader if any one interested in that +please look at + https://github.com/KhronosGroup/Vulkan-Loader/blob/master/BUILD.md