File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -366,9 +366,14 @@ jobs:
366366 } else {
367367 Write-Warning "File $script_path was NOT found!"
368368 }
369+
369370 # Check the variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default
370371 $cl_cfg="$env:CONDA_PREFIX\Library\bin\cl.cfg"
371- Get-Content -Tail 5 -Path $cl_cfg
372+ if (Test-Path $cl_cfg) {
373+ Get-Content -Tail 5 -Path $cl_cfg
374+ } else {
375+ Write-Warning "File $cl_cfg was NOT found!"
376+ }
372377
373378 - name : Smoke test
374379 run : |
Original file line number Diff line number Diff line change @@ -105,9 +105,14 @@ jobs:
105105 } else {
106106 Write-Warning "File $script_path was NOT found!"
107107 }
108+
108109 # Check the variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default
109110 $cl_cfg="$env:CONDA_PREFIX\Library\bin\cl.cfg"
110- Get-Content -Tail 5 -Path $cl_cfg
111+ if (Test-Path $cl_cfg) {
112+ Get-Content -Tail 5 -Path $cl_cfg
113+ } else {
114+ Write-Warning "File $cl_cfg was NOT found!"
115+ }
111116
112117 - name : Smoke test
113118 run : |
You can’t perform that action at this time.
0 commit comments