Swap from exclusions to allowlist

This commit is contained in:
Jed Fox 2023-03-23 13:58:47 -04:00
parent 927bc26e03
commit d6aa749ccf
No known key found for this signature in database
GPG key ID: 0B61D18EA54B47E1

View file

@ -11,7 +11,7 @@ let package = Package(
.target( .target(
name: "llama", name: "llama",
path: ".", path: ".",
exclude: ["main.cpp", "tests", "quantize.cpp"], sources: ["ggml.c", "llama.cpp"],
publicHeadersPath: "spm-headers", publicHeadersPath: "spm-headers",
cSettings: [.unsafeFlags(["-Wno-shorten-64-to-32"])] cSettings: [.unsafeFlags(["-Wno-shorten-64-to-32"])]
), ),