Skip to content

Commit cd94124

Browse files
authored
Merge pull request #394 from babichjacob/version-fix
specify llama-cpp-sys-2 version in llama-cpp-2 so that it can be published to crates.io (I hope)
2 parents fc36685 + b1fe57e commit cd94124

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

llama-cpp-2/Cargo.toml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,38 @@ native = ["llama-cpp-sys-2/native"]
2323
sampler = []
2424

2525
[target.'cfg(target_feature = "avx")'.dependencies]
26-
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features = ["avx"] }
26+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.61", features = [
27+
"avx",
28+
] }
2729
[target.'cfg(target_feature = "avx2")'.dependencies]
28-
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features = ["avx2"] }
30+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.61", features = [
31+
"avx2",
32+
] }
2933
[target.'cfg(target_feature = "avx512f")'.dependencies]
30-
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features = ["avx512"] }
34+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.61", features = [
35+
"avx512",
36+
] }
3137
[target.'cfg(target_feature = "avx512vbmi")'.dependencies]
32-
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features = ["avx512_vmbi"] }
38+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.61", features = [
39+
"avx512_vmbi",
40+
] }
3341
[target.'cfg(target_feature = "avx512vnni")'.dependencies]
34-
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features = ["avx512_vnni"] }
42+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.61", features = [
43+
"avx512_vnni",
44+
] }
3545
[target.'cfg(target_feature = "f16c")'.dependencies]
36-
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features = ["f16c"] }
46+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.61", features = [
47+
"f16c",
48+
] }
3749
[target.'cfg(target_feature = "fma")'.dependencies]
38-
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features = ["fma"] }
50+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.61", features = [
51+
"fma",
52+
] }
3953

40-
[target.'cfg(all(target_os = "macos", any(target_arch = "aarch64", target_arch = "arm64")))'.dependencies]
41-
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features=["metal"], version = "0.1.48" }
54+
[target.'cfg(all(target_os = "macos", any(target_arch = "aarch64", target_arch = "arm64")))'.dependencies]
55+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", version = "0.1.61", features = [
56+
"metal",
57+
] }
4258

4359
[lints]
4460
workspace = true

0 commit comments

Comments
 (0)