Merge pull request #138 from arizhih/linux-cuda-build
fix: Can't find libcuda when build with cuda feature on Linux
This commit is contained in:
commit
233c7eec36
1 changed files with 2 additions and 0 deletions
|
|
@ -52,7 +52,9 @@ fn main() {
|
|||
} else {
|
||||
println!("cargo:rustc-link-lib=culibos");
|
||||
println!("cargo:rustc-link-search=/usr/local/cuda/lib64");
|
||||
println!("cargo:rustc-link-search=/usr/local/cuda/lib64/stubs");
|
||||
println!("cargo:rustc-link-search=/opt/cuda/lib64");
|
||||
println!("cargo:rustc-link-search=/opt/cuda/lib64/stubs");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue