mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-11 13:30:35 +00:00
swift : add missing c file to Package.swift (#2978)
This commit is contained in:
parent
bc054af97a
commit
2753415afd
@ -12,7 +12,7 @@ let package = Package(
|
||||
name: "llama",
|
||||
path: ".",
|
||||
exclude: ["ggml-metal.metal"],
|
||||
sources: ["ggml.c", "llama.cpp"],
|
||||
sources: ["ggml.c", "llama.cpp", "ggml-alloc.c"],
|
||||
publicHeadersPath: "spm-headers",
|
||||
cSettings: [.unsafeFlags(["-Wno-shorten-64-to-32"]), .define("GGML_USE_ACCELERATE")],
|
||||
linkerSettings: [
|
||||
|
Loading…
Reference in New Issue
Block a user