Skip to content

Commit 9b66339

Browse files
committed
local-apps: update llama.cpp snippet to use cmake
1 parent 47bb66c commit 9b66339

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/tasks/src/local-apps.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@ const snippetLlamacpp = (model: ModelData, filepath?: string): LocalAppSnippet[]
9292
setup: [
9393
"git clone https://github.com/ggerganov/llama.cpp.git",
9494
"cd llama.cpp",
95-
"LLAMA_CURL=1 make llama-cli",
95+
"cmake -B build -DLLAMA_CURL=ON",
96+
"cmake --build build -j --target llama-cli",
97+
"# output binary can be found in ./build/bin",
9698
].join("\n"),
97-
content: command("./llama-cli"),
99+
content: command("./build/bin/llama-cli"),
98100
},
99101
];
100102
};

0 commit comments

Comments
 (0)