Open tc-wolf opened 8 months ago
Same issue here
error occurred: Command ZERO_AR_DATE="1" "ar" "cq"
[...]
target/debug/build/llama_cpp_rs-7523fd9532577412/out/llama.cpp/ggml.o" with args "ar" did not execute successfully (status code exit status: 1).
Same error, what's the work around for this?
In my project, which depends on rust-llama.cpp, I fixed this by pinning the upstream cc
dependency in my Cargo.toml:
[dependencies]
cc = "=1.0.83"
This is because the cc-rs crate adds a hash to the generated object file name to avoid collisions if there is another file in a subdirectory with the same name.
Should be fixed by #39