aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Package.swift1
l---------spm-headers/ggml.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Package.swift b/Package.swift
index 2c2c147..73d027c 100644
--- a/Package.swift
+++ b/Package.swift
@@ -11,6 +11,7 @@ let package = Package(
.target(
name: "llama",
path: ".",
+ exclude: ["ggml-metal.metal"],
sources: ["ggml.c", "llama.cpp"],
publicHeadersPath: "spm-headers",
cSettings: [.unsafeFlags(["-Wno-shorten-64-to-32"]), .define("GGML_USE_ACCELERATE")],
diff --git a/spm-headers/ggml.h b/spm-headers/ggml.h
new file mode 120000
index 0000000..3921529
--- /dev/null
+++ b/spm-headers/ggml.h
@@ -0,0 +1 @@
+../ggml.h \ No newline at end of file