File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -346,15 +346,18 @@ jobs:
346346 run : |
347347 call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
348348 if "${{ matrix.name }}" == "windows-sycl" (
349- if exist "%ONEAPI_ROOT%\\ setvars.bat" (
350- call "%ONEAPI_ROOT%\\ setvars.bat"
349+ if exist "%ONEAPI_ROOT%\setvars.bat" (
350+ call "%ONEAPI_ROOT%\setvars.bat"
351351 ) else (
352- echo OneAPI setvars.bat not found at "%ONEAPI_ROOT%\\setvars.bat"
353- dir "%ONEAPI_ROOT%"
352+ echo OneAPI setvars.bat not found at %ONEAPI_ROOT%\setvars.bat
353+ if exist "%ONEAPI_ROOT%" (
354+ dir "%ONEAPI_ROOT%"
355+ ) else (
356+ echo ONEAPI_ROOT directory does not exist: %ONEAPI_ROOT%
357+ )
354358 )
355- where icx
356- where dpcpp
357- echo PATH=%PATH%
359+ where icx 2^>nul ^|^| echo icx not found
360+ where dpcpp 2^>nul ^|^| echo dpcpp not found
358361 )
359362 set "PATH=%VCToolsInstallDir%bin\Hostx64\x64;%WindowsSdkBinPath%x64;%PATH%"
360363 set "PATH=%PATH:C:\msys64\usr\bin;=%"
You can’t perform that action at this time.
0 commit comments