Ignore metal file in spm

This commit is contained in:
Vogel Frederik 2023-06-13 14:11:33 +09:00
parent 74a6d922f1
commit a28c5f95f7

View file

@ -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")],