examples : remove references to make in examples [no ci] (#15457)

This commit removes references to `make` in the examples, as the build
system has been updated to use CMake directly and using `make` will now
generate an error since Commit 37f10f955f
("make : remove make in favor of CMake (#15449)").
This commit is contained in:
Daniel Bevenius 2025-08-21 06:12:28 +02:00 committed by GitHub
parent 8ad038c0fd
commit 29f538ac63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 6 deletions

View file

@ -1,4 +1,5 @@
This is a swift clone of `examples/batched`. This is a swift clone of `examples/batched`.
$ `make` ```bash
$ `./llama-batched-swift MODEL_PATH [PROMPT] [PARALLEL]` $ ./llama-batched-swift MODEL_PATH [PROMPT] [PARALLEL]
```

View file

@ -11,5 +11,5 @@ See the following PRs for more info:
### Usage ### Usage
```bash ```bash
make -j && ./llama-passkey -m ./models/llama-7b-v2/ggml-model-f16.gguf --junk 250 llama-passkey -m ./models/llama-7b-v2/ggml-model-f16.gguf --junk 250
``` ```

View file

@ -15,7 +15,7 @@ https://github.com/ggml-org/llama.cpp/pull/6193
`retrieval` example can be tested as follows: `retrieval` example can be tested as follows:
```bash ```bash
make -j && ./llama-retrieval --model ./models/bge-base-en-v1.5-f16.gguf --top-k 3 --context-file README.md --context-file License --chunk-size 100 --chunk-separator . llama-retrieval --model ./models/bge-base-en-v1.5-f16.gguf --top-k 3 --context-file README.md --context-file License --chunk-size 100 --chunk-separator .
``` ```
This chunks and embeds all given files and starts a loop requesting query inputs: This chunks and embeds all given files and starts a loop requesting query inputs:

View file

@ -18,8 +18,6 @@ if %errorlevel% neq 0 goto ERROR
:: for FP32 :: for FP32
cmake -G "Ninja" .. -DLLAMA_CURL=OFF -DGGML_SYCL=ON -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=icx -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release cmake -G "Ninja" .. -DLLAMA_CURL=OFF -DGGML_SYCL=ON -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=icx -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release
if %errorlevel% neq 0 goto ERROR if %errorlevel% neq 0 goto ERROR
:: build example/main only
:: make main
:: build all binary :: build all binary
cmake --build . -j cmake --build . -j