]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
build: document how to compile with Vulkan using Debian/Ubuntu packages (#17688)
authorMarcos Del Sol Vives <redacted>
Wed, 3 Dec 2025 00:25:11 +0000 (01:25 +0100)
committerGitHub <redacted>
Wed, 3 Dec 2025 00:25:11 +0000 (08:25 +0800)
docs/build.md

index 7d244ff013bed2739850fa1c498983c195b29c46..316269288df5b86baec5979a8346fa4ee2755825 100644 (file)
@@ -431,11 +431,22 @@ docker run -it --rm -v "$(pwd):/app:Z" --device /dev/dri/renderD128:/dev/dri/ren
 
 ### For Linux users:
 
+#### Using the LunarG Vulkan SDK
+
 First, follow the official LunarG instructions for the installation and setup of the Vulkan SDK in the [Getting Started with the Linux Tarball Vulkan SDK](https://vulkan.lunarg.com/doc/sdk/latest/linux/getting_started.html) guide.
 
 > [!IMPORTANT]
 > After completing the first step, ensure that you have used the `source` command on the `setup_env.sh` file inside of the Vulkan SDK in your current terminal session. Otherwise, the build won't work. Additionally, if you close out of your terminal, you must perform this step again if you intend to perform a build. However, there are ways to make this persistent. Refer to the Vulkan SDK guide linked in the first step for more information about any of this.
 
+#### Using system packages
+
+On Debian / Ubuntu, you can install the required dependencies using:
+```sh
+sudo apt-get install libvulkan-dev glslc
+```
+
+#### Common steps
+
 Second, after verifying that you have followed all of the SDK installation/setup steps, use this command to make sure before proceeding:
 ```bash
 vulkaninfo