]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
examples : remove references to `make` in examples [no ci] (#15457)
authorDaniel Bevenius <redacted>
Thu, 21 Aug 2025 04:12:28 +0000 (06:12 +0200)
committerGitHub <redacted>
Thu, 21 Aug 2025 04:12:28 +0000 (06:12 +0200)
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 37f10f955f70e0158d50343d0b9a3f92d194daae
("make : remove make in favor of CMake (#15449)").

examples/batched.swift/README.md
examples/passkey/README.md
examples/retrieval/README.md
examples/sycl/win-build-sycl.bat

index 7f2e2fcdcf4a7767f84568b1acf74a118b44f0f3..f08901506f94f628ad42dfa0af3cf87a8e7254c1 100644 (file)
@@ -1,4 +1,5 @@
 This is a swift clone of `examples/batched`.
 
-$ `make`
-$ `./llama-batched-swift MODEL_PATH [PROMPT] [PARALLEL]`
+```bash
+$ ./llama-batched-swift MODEL_PATH [PROMPT] [PARALLEL]
+```
index 2f19597c48d7f2bc7f0e955cfe51b558cfd6956c..cbaf28fd82f37dfe89cfdbe509b325a9db867a5c 100644 (file)
@@ -11,5 +11,5 @@ See the following PRs for more info:
 ### Usage
 
 ```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
 ```
index 6938a1e96ee359a0942ba0cb3a6dbdb391770543..51038cc36b1a84b7956f4a68a17f89367ecbb190 100644 (file)
@@ -15,7 +15,7 @@ https://github.com/ggml-org/llama.cpp/pull/6193
 `retrieval` example can be tested as follows:
 
 ```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:
index 6fc897b1486c85b249bf50294627309a99b9ab43..862998e73756982798cfb37654a38497b02bc1bd 100644 (file)
@@ -18,8 +18,6 @@ if %errorlevel% neq 0 goto ERROR
 ::  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
 if %errorlevel% neq 0 goto ERROR
-::  build example/main only
-::  make main
 
 ::  build all binary
 cmake --build . -j