We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 047898c + eff774d commit 0d59098Copy full SHA for 0d59098
llama-cpp-sys-2/build.rs
@@ -199,6 +199,9 @@ fn main() {
199
bindings
200
.write_to_file(out_path.join("bindings.rs"))
201
.expect("failed to write bindings to file");
202
+ let llama_cpp_dir = PathBuf::from("llama.cpp").canonicalize().unwrap();
203
+ println!("cargo:INCLUDE={}", llama_cpp_dir.to_str().unwrap());
204
+ println!("cargo:OUT_DIR={}", out_path.to_str().unwrap());
205
}
206
207
// courtesy of https://github.com/rustformers/llm
0 commit comments