Skip to content

Commit 9a113f3

Browse files
Setting location of TBB_DLLs in cl.cfg
1 parent 034ae1e commit 9a113f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/conda-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ jobs:
270270
Write-Output "OCL-ICD-Loader was not copied"
271271
}
272272
# Variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default
273-
echo "TBB_DLL_PATH=C:\Miniconda\Library\bin" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
273+
$cl_cfg="C:\Miniconda\Library\lib\cl.cfg"
274+
(Get-Content $cl_cfg) -replace '^CL_CONFIG_TBB_DLL =', 'CL_CONFIG_TBB_DLL_PATH = C:\Miniconda\Library\bin' | Set-Content $cl_cfg
274275
}
275276
- name: Smoke test
276277
run: |

0 commit comments

Comments
 (0)