]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
swift : add missing c file to Package.swift (#2978)
authorkchro3 <redacted>
Sun, 3 Sep 2023 05:27:25 +0000 (22:27 -0700)
committerGitHub <redacted>
Sun, 3 Sep 2023 05:27:25 +0000 (08:27 +0300)
Package.swift

index 73d027c70215495a5b5233b95110a2c3f622d46c..2c07710cdc2422cf97fff81babff1d6bed50f59d 100644 (file)
@@ -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: [