Skip to content

Commit 54c84f4

Browse files
committed
Fix: hopefully fix CI
1 parent ce1c1a8 commit 54c84f4

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/rust.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ jobs:
4545
- name: Add rustup components
4646
run: rustup component add rustfmt clippy
4747

48-
- name: Download OptiX Headers
49-
run: |
50-
chmod +x "${GITHUB_WORKSPACE}/scripts/download_ci_optix.bash"
51-
${GITHUB_WORKSPACE}/scripts/download_ci_optix.bash
52-
5348
- name: Install LLVM 7
5449
if: contains(matrix.os, 'ubuntu')
5550
run: |

crates/find_cuda_helper/src/lib.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,8 @@ pub fn find_cuda_lib_dirs() -> Vec<PathBuf> {
127127
let mut candidates = read_env();
128128
candidates.push(PathBuf::from("/opt/cuda"));
129129
candidates.push(PathBuf::from("/usr/local/cuda"));
130-
for e in glob::glob("/usr/local/cuda-*").unwrap() {
131-
if let Ok(path) = e {
132-
candidates.push(path)
133-
}
130+
for e in glob::glob("/usr/local/cuda-*").unwrap().flatten() {
131+
candidates.push(e)
134132
}
135133

136134
let mut valid_paths = vec![];

0 commit comments

Comments
 (0)