File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 14
14
TEST_ENV_NAME : test_dpctl
15
15
VER_SCRIPT1 : " import json; f = open('ver.json', 'r'); j = json.load(f); f.close(); d = j['dpctl'][0];"
16
16
VER_SCRIPT2 : " print('='.join((d[s] for s in ('version', 'build'))))"
17
- VER_SCRIPT3 : " print(' '.join(d['depends']))"
17
+ VER_SCRIPT3 : " print(' '.join(map(lambda s: chr(39) + s + chr(39), d['depends']) ))"
18
18
INTEL_CHANNEL : " https://software.repos.intel.com/python/conda/"
19
19
20
20
jobs :
@@ -364,7 +364,11 @@ jobs:
364
364
shell : pwsh
365
365
run : |
366
366
$script_path="$env:CONDA_PREFIX\Scripts\set-intel-ocl-icd-registry.ps1"
367
- &$script_path
367
+ if (Test-Path $script_path) {
368
+ &$script_path
369
+ } else {
370
+ Write-Warning "File $script_path was NOT found!"
371
+ }
368
372
# Check the variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default
369
373
$cl_cfg="$env:CONDA_PREFIX\Library\lib\cl.cfg"
370
374
Get-Content -Tail 5 -Path $cl_cfg
You can’t perform that action at this time.
0 commit comments