File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,24 @@ rmdir "$CUDNN_ROOT/include/12.4"
2929cp -r " $CUDNN_ROOT " /* " $CUDA_ROOT "
3030rm cudnn.exe
3131
32+ echo " Installing minimal Visual Studio 2022 components..."
33+ curl --netrc-optional -L -nv -o vs_buildtools.exe https://aka.ms/vs/17/release/vs_buildtools.exe
34+
35+ # Install only the essential components needed for CUDA
36+ ./vs_buildtools.exe --quiet --wait \
37+ --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 \
38+ --add Microsoft.VisualStudio.Component.Windows10SDK.19041 \
39+ --add Microsoft.VisualStudio.Component.VC.CMake.Project
40+
41+ rm vs_buildtools.exe
42+
3243# See https://github.com/oneapi-src/oneapi-ci for installer URLs
3344curl --netrc-optional -L -nv -o webimage.exe \
3445 --retry 5 \
3546 --retry-delay 10 \
3647 --retry-max-time 300 \
3748 --continue-at - \
38- https://registrationcenter-download.intel.com/akdlm/irc_nas/18970/w_BaseKit_p_2022.3.1.17310_offline .exe
49+ https://registrationcenter-download.intel.com/akdlm/IRC_NAS/2cbb02eb-dd4c-4058-a4ac-2e38729a8409/intel-oneapi-base-toolkit-2025.1.2.7_offline .exe
3950./webimage.exe -s -x -f webimage_extracted --log extract.log
4051rm webimage.exe
4152./webimage_extracted/bootstrapper.exe -s --action install --components=" intel.oneapi.win.mkl.devel" --eula=accept -p=NEED_VS2017_INTEGRATION=0 -p=NEED_VS2019_INTEGRATION=0 --log-dir=.
You can’t perform that action at this time.
0 commit comments