File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -345,17 +345,17 @@ jobs:
345345 shell : cmd
346346 run : |
347347 call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
348- # if "${{ matrix.name }}" == "windows-sycl" (
349- # if exist "%ONEAPI_ROOT%\setvars.bat" (
350- # call "%ONEAPI_ROOT%\setvars.bat"
351- # ) else (
352- # echo OneAPI setvars.bat not found at %ONEAPI_ROOT%\setvars.bat
353- # dir "%ONEAPI_ROOT%"
354- # )
355- # where icx
356- # where dpcpp
357- # echo PATH=%PATH%
358- # )
348+ if "${{ matrix.name }}" == "windows-sycl" (
349+ if exist "%ONEAPI_ROOT%\setvars.bat" (
350+ call "%ONEAPI_ROOT%\setvars.bat"
351+ ) else (
352+ echo OneAPI setvars.bat not found at %ONEAPI_ROOT%\setvars.bat
353+ dir "%ONEAPI_ROOT%"
354+ )
355+ where icx
356+ where dpcpp
357+ echo PATH=%PATH%
358+ )
359359 set "PATH=%VCToolsInstallDir%bin\Hostx64\x64;%WindowsSdkBinPath%x64;%PATH%"
360360 set "PATH=%PATH:C:\msys64\usr\bin;=%"
361361 set "PATH=%PATH:C:\msys64\mingw64\bin;=%"
You can’t perform that action at this time.
0 commit comments