Skip to content

Commit 4d2be8c

Browse files
authored
Correct a path to cl.cfg file (#2431)
The location of `cl.cfg` file created by installing `intel-opencl-rt` conda package was changed few releases back from `%CONDA_PREFIX%\Library\lib\cl.cfg` to `%CONDA_PREFIX%\Library\bin\cl.cfg`. The file was still created at `Library\lib\cl.cfg` by `intel-opencl-rt-post-link.bat` script but with empty content. The PR updates public CI to rely on correct path to `cl.cfg` configuration file. The issue with `intel-opencl-rt-post-link.bat` script has to be updated by separate change in the compiler repo.
1 parent e5ab49b commit 4d2be8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/conda-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ jobs:
376376
Write-Warning "File $script_path was NOT found!"
377377
}
378378
# Check the variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default
379-
$cl_cfg="$env:CONDA_PREFIX\Library\lib\cl.cfg"
379+
$cl_cfg="$env:CONDA_PREFIX\Library\bin\cl.cfg"
380380
Get-Content -Tail 5 -Path $cl_cfg
381381
382382
- name: Smoke test

.github/workflows/cron-run-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
Write-Warning "File $script_path was NOT found!"
109109
}
110110
# Check the variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default
111-
$cl_cfg="$env:CONDA_PREFIX\Library\lib\cl.cfg"
111+
$cl_cfg="$env:CONDA_PREFIX\Library\bin\cl.cfg"
112112
Get-Content -Tail 5 -Path $cl_cfg
113113
114114
- name: Smoke test

0 commit comments

Comments
 (0)