mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-10-28 08:31:25 +00:00
swift : add missing c file to Package.swift (#2978)
This commit is contained in:
@@ -12,7 +12,7 @@ let package = Package(
|
|||||||
name: "llama",
|
name: "llama",
|
||||||
path: ".",
|
path: ".",
|
||||||
exclude: ["ggml-metal.metal"],
|
exclude: ["ggml-metal.metal"],
|
||||||
sources: ["ggml.c", "llama.cpp"],
|
sources: ["ggml.c", "llama.cpp", "ggml-alloc.c"],
|
||||||
publicHeadersPath: "spm-headers",
|
publicHeadersPath: "spm-headers",
|
||||||
cSettings: [.unsafeFlags(["-Wno-shorten-64-to-32"]), .define("GGML_USE_ACCELERATE")],
|
cSettings: [.unsafeFlags(["-Wno-shorten-64-to-32"]), .define("GGML_USE_ACCELERATE")],
|
||||||
linkerSettings: [
|
linkerSettings: [
|
||||||
|
|||||||
Reference in New Issue
Block a user