Skip to content

Commit af73f30

Browse files
authored
Apply suggestion from @coreylowman
1 parent e8cbeba commit af73f30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ fn link_searches(major: usize, minor: usize) -> Vec<PathBuf> {
251251
// occur. Print a warning with some guidance.
252252
#[cfg(feature = "dynamic-linking")]
253253
if env_vars.is_empty() && std::env::var("CONDA_PREFIX").is_ok() {
254-
println!("cargo::warning=Detected CONDA_PREFIX in the environment, but no CUDA path was set through one of: {TYPICAL_CUDA_PATH_ENV_VARS:?}. Linker errors are likely to occur. Please ensure the environment contains all required dependencies (e.g. the \"cuda-driver-dev\") and retry building with CUDA_HOME=$CONDA_PREFIX.")
254+
println!("cargo::warning=Detected $CONDA_PREFIX, but no CUDA path was set through one of: {TYPICAL_CUDA_PATH_ENV_VARS:?}. Linking to system CUDA libraries; linker errors may occur. To use CUDA installed via conda please ensure the environment contains all required dependencies (e.g. the \"cuda-driver-dev\") and retry building with CUDA_HOME=$CONDA_PREFIX.")
255255
}
256256

257257
let typical_locations = [

0 commit comments

Comments
 (0)