add cpu backend to the swift build

This commit is contained in:
slaren 2024-11-25 03:34:29 +01:00
parent ae99c8fa55
commit 6d19135b9b

View File

@ -43,7 +43,8 @@ linkerSettings.append(.linkedFramework("Accelerate"))
cSettings.append(
contentsOf: [
.define("GGML_USE_ACCELERATE"),
.define("GGML_USE_METAL")
.define("GGML_USE_METAL"),
.define("GGML_USE_CPU")
]
)
#endif