Skip to content

Commit f4596aa

Browse files
committed
fix: remove redundant fix
1 parent 46e9cbf commit f4596aa

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/bindings/utils/compileLLamaCpp.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,6 @@ export async function compileLlamaCpp(buildOptions: BuildOptions, compileOptions
168168
}
169169
}
170170

171-
// workaround for macOS build issues with GGML_BACKEND_DL
172-
if (buildOptions.platform === "mac" && isCmakeValueOn(cmakeCustomOptions.get("GGML_BACKEND_DL")) &&
173-
!cmakeCustomOptions.has("CMAKE_PLATFORM_NO_VERSIONED_SONAME")
174-
)
175-
cmakeCustomOptions.set("CMAKE_PLATFORM_NO_VERSIONED_SONAME", "ON");
176-
177171
await fs.remove(outDirectory);
178172

179173
await spawnCommand(
@@ -694,10 +688,6 @@ function reduceParallelBuildThreads(originalParallelBuildThreads: number) {
694688
return Math.max(1, Math.round(originalParallelBuildThreads / 2));
695689
}
696690

697-
function isCmakeValueOn(value?: string) {
698-
return value === "ON" || value === "1";
699-
}
700-
701691
function isCmakeValueOff(value?: string) {
702692
return value === "OFF" || value === "0";
703693
}

0 commit comments

Comments
 (0)