Skip to content

Commit 6059f56

Browse files
committed
build: fix build for macOS x64
1 parent a07451e commit 6059f56

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/bindings/utils/compileLLamaCpp.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ export async function compileLlamaCpp(buildOptions: BuildOptions, compileOptions
131131
if (!cmakeCustomOptions.has("GGML_CCACHE"))
132132
cmakeCustomOptions.set("GGML_CCACHE", "OFF");
133133

134+
if (!cmakeCustomOptions.has("LLAMA_BUILD_NUMBER"))
135+
cmakeCustomOptions.set("LLAMA_BUILD_NUMBER", "1");
136+
134137
// avoid linking to extra libraries that we don't use
135138
{
136139
if (!cmakeCustomOptions.has("LLAMA_CURL") || isCmakeValueOff(cmakeCustomOptions.get("LLAMA_CURL")))

0 commit comments

Comments
 (0)