Skip to content

Commit 2764036

Browse files
committed
Improve Windows build README formatting
1 parent 76af40a commit 2764036

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/build.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,13 @@ cmake --build build --config Release
5959
cmake --preset arm64-windows-llvm-release -D GGML_OPENMP=OFF
6060
cmake --build build-arm64-windows-llvm-release
6161
```
62-
For building with ninja generator and clang compiler as default:
63-
-set path:set LIB=C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0\um\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\lib\x64\uwp;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0\ucrt\x64
64-
```bash
65-
cmake --preset x64-windows-llvm-release
66-
cmake --build build-x64-windows-llvm-release
67-
```
62+
- For building with ninja generator and clang compiler as default:
63+
- Set path (Replace the paths with the versions installed on your system): `set LIB=C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0\um\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\lib\x64\uwp;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0\ucrt\x64`.
64+
- Then run:
65+
```bash
66+
cmake --preset x64-windows-llvm-release
67+
cmake --build build-x64-windows-llvm-release
68+
```
6869
- Curl usage is enabled by default and can be turned off with `-DLLAMA_CURL=OFF`. Otherwise you need to install development libraries for libcurl.
6970
- **Debian / Ubuntu:** `sudo apt-get install libcurl4-openssl-dev` # (or `libcurl4-gnutls-dev` if you prefer GnuTLS)
7071
- **Fedora / RHEL / Rocky / Alma:** `sudo dnf install libcurl-devel`

0 commit comments

Comments
 (0)