Skip to content

Commit

Permalink
Tweak build.rs to build without gpu support
Browse files Browse the repository at this point in the history
  • Loading branch information
Enet4 committed Aug 26, 2023
1 parent 996de32 commit 2f3e65b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faiss-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn link_cxx() {
}
}

#[cfg(all(feature = "static", feature = "gpu"))]
#[cfg(feature = "static")]
fn cuda_lib_path() -> String {
// look for CUDA_PATH in environment,
// then CUDA_LIB_PATH,
Expand Down

0 comments on commit 2f3e65b

Please sign in to comment.