Skip to content

Commit 6d19135

Browse files
committed
add cpu backend to the swift build
1 parent ae99c8f commit 6d19135

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Package.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ linkerSettings.append(.linkedFramework("Accelerate"))
4343
cSettings.append(
4444
contentsOf: [
4545
.define("GGML_USE_ACCELERATE"),
46-
.define("GGML_USE_METAL")
46+
.define("GGML_USE_METAL"),
47+
.define("GGML_USE_CPU")
4748
]
4849
)
4950
#endif

0 commit comments

Comments
 (0)