Skip to content

Commit ea6a0db

Browse files
committed
feat: add cmake. works on macos m1
1 parent 301c4e2 commit ea6a0db

File tree

4 files changed

+257
-1106
lines changed

4 files changed

+257
-1106
lines changed

Cargo.lock

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

llama-cpp-sys-2/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ repository = "https://github.com/utilityai/llama-cpp-rs"
88
links = "llama"
99

1010
include = [
11+
"wrapper.h",
1112
"build.rs",
1213
"/src",
1314
"/llama.cpp/ggml/src/ggml.c",
@@ -59,7 +60,8 @@ include = [
5960
[build-dependencies]
6061
bindgen = { workspace = true }
6162
cc = { workspace = true, features = ["parallel"] }
62-
once_cell = "1.19.0"
63+
cmake = "0.1"
64+
glob = "0.3.1"
6365

6466
[features]
6567
cuda = []

0 commit comments

Comments
 (0)