mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-05-08 10:52:14 +00:00
Fix build with Mach-O
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
parent
d41183a0b4
commit
6223b6e264
@ -25,8 +25,9 @@ fn main() {
|
||||
for path in &llama.link_paths {
|
||||
println!("cargo:rustc-link-arg=-Wl,-rpath,{}", path.display());
|
||||
}
|
||||
println!("cargo:rustc-link-arg=-Wl,--disable-new-dtags");
|
||||
|
||||
if cfg!(target_os = "linux") {
|
||||
println!("cargo:rustc-link-arg=-Wl,--disable-new-dtags");
|
||||
}
|
||||
let bindings = bindgen::Builder::default()
|
||||
.clang_args(
|
||||
llama
|
||||
|
Loading…
Reference in New Issue
Block a user