Skip to content

Commit 0e59572

Browse files
Set TBB_DLL_PATH rather than create hard links in the environment (#739)
1 parent 4e1f63d commit 0e59572

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/conda-package.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,8 @@ jobs:
245245
} else {
246246
Write-Output "OCL-ICD-Loader was not copied"
247247
}
248-
# Create symbolic links to tbb next to OpenCL's task_executor, where it expects to find them
249-
New-Item -ItemType HardLink -Path "C:\Miniconda\Library\lib\tbb12.dll" -Target "C:\Miniconda\Library\bin\tbb12.dll"
250-
New-Item -ItemType HardLink -Path "C:\Miniconda\Library\lib\tbbmalloc.dll" -Target "C:\Miniconda\Library\bin\tbbmalloc.dll"
248+
# Variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default
249+
echo "TBB_DLL_PATH=C:\Miniconda\Library\bin" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
251250
}
252251
- name: Smoke test
253252
run: |

0 commit comments

Comments
 (0)