docs: vulkan build instructions to use git bash mingw64
This commit is contained in:
parent
932f28e261
commit
a79d81daa7
1 changed files with 0 additions and 21 deletions
|
@ -282,12 +282,8 @@ The following compilation options are also available to tweak performance (yes,
|
|||
|
||||
#### w64devkit
|
||||
|
||||
[](https://github.com/skeeto/w64devkit/releases)
|
||||
|
||||
Download and extract [`w64devkit`](https://github.com/skeeto/w64devkit/releases).
|
||||
|
||||
[](https://vulkan.lunarg.com/sdk/home#windows)
|
||||
|
||||
Download and install the [`Vulkan SDK`](https://vulkan.lunarg.com/sdk/home#windows) with the default settings.
|
||||
|
||||
Launch `w64devkit.exe` and run the following commands to copy Vulkan dependencies:
|
||||
|
@ -308,35 +304,18 @@ Switch into the `llama.cpp` directory and run `make GGML_VULKAN=1`.
|
|||
|
||||
#### Git Bash MINGW64
|
||||
|
||||
[](https://git-scm.com/downloads/win).
|
||||
|
||||
Download and install [`Git-SCM`](https://git-scm.com/downloads/win) with the default settings
|
||||
|
||||
[](https://visualstudio.microsoft.com/)
|
||||
|
||||
Download and install [`Visual Studio Community Edition`](https://visualstudio.microsoft.com/) and make sure you select `C++`
|
||||
|
||||
[](https://cmake.org/download/)
|
||||
|
||||
Download and install [`CMake`](https://cmake.org/download/) with the default settings
|
||||
|
||||
[](https://vulkan.lunarg.com/sdk/home#windows)
|
||||
|
||||
Download and install the [`Vulkan SDK`](https://vulkan.lunarg.com/sdk/home#windows) with the default settings.
|
||||
|
||||

|
||||
|
||||
Go into your `llama.cpp` directory and right click, select `Open Git Bash Here` and then run the following commands
|
||||
|
||||

|
||||
|
||||
```
|
||||
cmake -B build -DGGML_VULKAN=ON
|
||||
```
|
||||
|
||||

|
||||
|
||||
```
|
||||
cmake --build build --config Release
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue