Skip to content

Commit 7ef5f95

Browse files
Update XPU Windows script
1 parent c8cf8de commit 7ef5f95

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/scripts/build-xpu-windows.bat

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,34 @@
11

22
set INTEL_DLE_URL=https://registrationcenter-download.intel.com/akdlm/IRC_NAS/75d4eb97-914a-4a95-852c-7b9733d80f74/intel-deep-learning-essentials-2025.1.3.8_offline.exe
33

4-
REM for debugging
4+
echo ::group::Debugging Information
5+
echo Current Directory: %CD%
56
set
7+
echo ::endgroup::
68

79
curl -o intel-dle-installer.exe %INTEL_DLE_URL%
8-
start /wait "Intel DLE Install" intel-dle-installer.exe -r --log indel_dle_log.txt -a --silent --eula=accept -p=NEED_VS2022_INTEGRATION=0
9-
type intel_dle_log.txt
1010

11+
echo ::group::Intel Deep Learning Essentials Installation
12+
start /wait "Intel DLE Install" intel-dle-installer.exe -r yes --log intel_dle_log.txt --silent -a --eula=accept -p=NEED_VS2022_INTEGRATION=0
13+
type intel_dle_log.txt
1114
if ERRORLEVEL 1 (
1215
echo Failed to install Intel Deep Learning Essentials
1316
exit /b 1
1417
)
18+
echo ::endgroup::
1519

20+
echo ::group::Environment Setup
1621
call "%ProgramFiles(x86)%\Intel\oneAPI\setvars.bat"
1722
if ERRORLEVEL 1 (
1823
echo Failed to setup environment
1924
exit /b 1
2025
)
26+
echo ::endgroup::
2127

28+
echo ::group::Building with XPU backend
2229
cmake -G Ninja -DCOMPUTE_BACKEND=xpu -DCMAKE_BUILD_TYPE=Release .
2330
cmake --build . --config Release
31+
echo ::endgroup::
2432

2533
if ERRORLEVEL 1 (
2634
echo Build failed

0 commit comments

Comments
 (0)