Skip to content

Commit 56e6137

Browse files
committed
Fix building issue
1 parent c201681 commit 56e6137

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

c/sedona-libgpuspatial/build.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,10 @@ fn main() {
145145
println!("cargo:rustc-link-search=native={}", cuda_lib_path); // CUDA runtime
146146

147147
if let Some(driver_lib_path) = find_cuda_driver_path() {
148-
println!("cargo:rustc-link-search=native={}", driver_lib_path); // CUDA driver
148+
println!(
149+
"cargo:rustc-link-search=native={}",
150+
driver_lib_path.display()
151+
); // CUDA driver
149152
} else {
150153
panic!("CUDA libcuda.so is not found. Please ensure NVIDIA drivers are installed and in a standard location, or set LD_LIBRARY_PATH or CUDA_HOME.");
151154
}
@@ -154,7 +157,6 @@ fn main() {
154157
println!("cargo:rustc-link-lib=static=gpuspatial");
155158
println!("cargo:rustc-link-lib=static=rmm");
156159
println!("cargo:rustc-link-lib=static=rapids_logger");
157-
println!("cargo:rustc-link-lib=static=spdlog");
158160
println!("cargo:rustc-link-lib=static=geoarrow");
159161
println!("cargo:rustc-link-lib=static=nanoarrow");
160162
println!("cargo:rustc-link-lib=stdc++");

0 commit comments

Comments
 (0)