Skip to content

Commit 32365c0

Browse files
authored
local-apps: update llama.cpp snippet to use cmake (#1060)
Ref: ggml-org/llama.cpp#10514 The recommended way to build llama.cpp is by using `cmake` command.
1 parent c81d460 commit 32365c0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/tasks/src/local-apps.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,10 @@ const snippetLlamacpp = (model: ModelData, filepath?: string): LocalAppSnippet[]
129129
setup: [
130130
"git clone https://github.com/ggerganov/llama.cpp.git",
131131
"cd llama.cpp",
132-
"LLAMA_CURL=1 make llama-cli",
132+
"cmake -B build -DLLAMA_CURL=ON",
133+
"cmake --build build -j --target llama-cli",
133134
].join("\n"),
134-
content: command("./llama-cli"),
135+
content: command("./build/bin/llama-cli"),
135136
},
136137
];
137138
};

0 commit comments

Comments
 (0)