Skip to content

Commit 29f538a

Browse files
authored
examples : remove references to make in examples [no ci] (ggml-org#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 37f10f9 ("make : remove make in favor of CMake (ggml-org#15449)").
1 parent 8ad038c commit 29f538a

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

examples/batched.swift/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
This is a swift clone of `examples/batched`.
22

3-
$ `make`
4-
$ `./llama-batched-swift MODEL_PATH [PROMPT] [PARALLEL]`
3+
```bash
4+
$ ./llama-batched-swift MODEL_PATH [PROMPT] [PARALLEL]
5+
```

examples/passkey/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ See the following PRs for more info:
1111
### Usage
1212

1313
```bash
14-
make -j && ./llama-passkey -m ./models/llama-7b-v2/ggml-model-f16.gguf --junk 250
14+
llama-passkey -m ./models/llama-7b-v2/ggml-model-f16.gguf --junk 250
1515
```

examples/retrieval/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ https://github.com/ggml-org/llama.cpp/pull/6193
1515
`retrieval` example can be tested as follows:
1616

1717
```bash
18-
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 .
18+
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 .
1919
```
2020

2121
This chunks and embeds all given files and starts a loop requesting query inputs:

examples/sycl/win-build-sycl.bat

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ if %errorlevel% neq 0 goto ERROR
1818
:: for FP32
1919
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
2020
if %errorlevel% neq 0 goto ERROR
21-
:: build example/main only
22-
:: make main
2321

2422
:: build all binary
2523
cmake --build . -j

0 commit comments

Comments
 (0)