diff options
author | Olivier Chafik <ochafik@users.noreply.github.com> | 2024-04-29 17:02:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 17:02:45 +0100 |
commit | b8a7a5a90fd3187175d84227dad705ade395ba46 (patch) | |
tree | 68b6af3e23d7b8d70b4247ae96b72a5455dd2d40 /examples/server | |
parent | d2c898f746a527f09effb061829e68b2e1812a28 (diff) |
build(cmake): simplify instructions (`cmake -B build && cmake --build build ...`) (#6964)
* readme: cmake . -B build && cmake --build build
* build: fix typo
Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
* build: drop implicit . from cmake config command
* build: remove another superfluous .
* build: update MinGW cmake commands
* Update README-sycl.md
Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>
* build: reinstate --config Release as not the default w/ some generators + document how to build Debug
* build: revert more --config Release
* build: nit / remove -H from cmake example
* build: reword debug instructions around single/multi config split
---------
Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>
Diffstat (limited to 'examples/server')
-rw-r--r-- | examples/server/README.md | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/examples/server/README.md b/examples/server/README.md index 918ac129..b96a4444 100644 --- a/examples/server/README.md +++ b/examples/server/README.md @@ -74,15 +74,18 @@ page cache before using this. See https://github.com/ggerganov/llama.cpp/issues/ - Using `make`: ```bash - make + make server ``` - Using `CMake`: ```bash - cmake --build . --config Release + cmake -B build + cmake --build build --config Release -t server ``` + Binary is at `./build/bin/server` + ## Build with SSL `server` can also be built with SSL support using OpenSSL 3 @@ -99,10 +102,8 @@ page cache before using this. See https://github.com/ggerganov/llama.cpp/issues/ - Using `CMake`: ```bash - mkdir build - cd build - cmake .. -DLLAMA_SERVER_SSL=ON - make server + cmake -B build -DLLAMA_SERVER_SSL=ON + cmake --build build --config Release -t server ``` ## Quick Start |