Skip to content

Commit 4693100

Browse files
committed
Use precompiled framework
1 parent 9a94ebe commit 4693100

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Package.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ let package = Package(
2020
targets: [
2121
.target(name: "SwiftLlama",
2222
dependencies: [
23-
.product(name: "llama", package: "llama.cpp")
23+
"LlamaFramework"
2424
]),
2525
.testTarget(name: "SwiftLlamaTests", dependencies: ["SwiftLlama"]),
26+
.binaryTarget(
27+
name: "LlamaFramework",
28+
url: "https://github.com/ggml-org/llama.cpp/releases/download/b5046/llama-b5046-xcframework.zip",
29+
checksum: "c19be78b5f00d8d29a25da41042cb7afa094cbf6280a225abe614b03b20029ab"
30+
)
2631
]
2732
)

0 commit comments

Comments
 (0)