File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed
Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change 1-
21set 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
3-
4- echo ::group::Debugging Information
5- echo Current Directory: %CD%
6- set
7- echo ::endgroup::
8-
9- curl -o intel-dle-installer.exe %INTEL_DLE_URL%
2+ set INTEL_DLE_TMP = %RUNNER_TEMP% \intel_dle
3+ set INTEL_DLE_LOG = %RUNNER_TEMP% \intel_dle_log.txt
104
115echo ::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
6+ curl -o intel-dle-installer.exe %INTEL_DLE_URL%
7+ start /wait " Intel DLE Install" intel-dle-installer.exe -f %INTEL_DLE_TMP% -l %INTEL_DLE_LOG% --silent -a --eula=accept -p=NEED_VS2022_INTEGRATION=0
8+ type %INTEL_DLE_LOG%
149if ERRORLEVEL 1 (
1510 echo Failed to install Intel Deep Learning Essentials
1611 exit /b 1
1712)
1813echo ::endgroup::
1914
20- echo ::group::Environment Setup
15+ echo ::group::Build Environment Setup
2116call " %ProgramFiles(x86)% \Intel\oneAPI\setvars.bat"
17+ cmake -G Ninja -DCOMPUTE_BACKEND=xpu -DCMAKE_BUILD_TYPE=Release .
2218if ERRORLEVEL 1 (
2319 echo Failed to setup environment
2420 exit /b 1
2521)
2622echo ::endgroup::
2723
2824echo ::group::Building with XPU backend
29- cmake -G Ninja -DCOMPUTE_BACKEND=xpu -DCMAKE_BUILD_TYPE=Release .
3025cmake --build . --config Release
31- echo ::endgroup::
32-
3326if ERRORLEVEL 1 (
3427 echo Build failed
3528 exit /b 1
3629)
30+ echo ::endgroup::
3731
3832set output_dir = output\%build_os% \x86_64
3933if not exist " %output_dir% " mkdir " %output_dir% "
You can’t perform that action at this time.
0 commit comments