We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43fe07c commit b8a91c5Copy full SHA for b8a91c5
Package.swift
@@ -13,17 +13,21 @@ let package = Package(
13
products: [
14
.library(name: "llama", targets: ["llama"]),
15
],
16
- dependencies: [
17
- .package(url: "https://github.com/ggerganov/ggml.git", .branch("release"))
18
- ],
19
targets: [
20
.target(
21
name: "llama",
22
- dependencies: ["ggml"],
23
path: ".",
24
exclude: ["ggml-metal.metal"],
25
sources: [
+ "ggml.c",
26
"llama.cpp",
+ "ggml-alloc.c",
+ "ggml-backend.c",
+ "ggml-quants.c",
27
+ "ggml-metal.m",
28
+ ],
29
+ resources: [
30
+ .process("ggml-metal.metal")
31
32
publicHeadersPath: "spm-headers",
33
cSettings: [
0 commit comments