Skip to content

Commit

Permalink
add cpu backend to the swift build
Browse files Browse the repository at this point in the history
  • Loading branch information
slaren committed Nov 25, 2024
1 parent ae99c8f commit 6d19135
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d19135

Please sign in to comment.