diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2022-07-10 17:52:01 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-07-11 17:58:02 -0400 |
| commit | 1521bdd9fd42ef216f3c3cee4a9c6124e131143e (patch) | |
| tree | ca94f75d23cfc5c891be8717cc7298bc506878b0 /ci/intel-scripts/install_windows.bat | |
| parent | 30dc26a0fb1ba0d23261df289ef12bbeda7660fd (diff) | |
| download | meson-1521bdd9fd42ef216f3c3cee4a9c6124e131143e.tar.gz | |
CI: install ifort on Windows
This enables the fortran tests for Azure.
We only test on x64, because:
- ifort isn't arm64 compatible
- x86 may in theory exist, but Meson reports it cannot compile
executables
Diffstat (limited to 'ci/intel-scripts/install_windows.bat')
| -rw-r--r-- | ci/intel-scripts/install_windows.bat | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ci/intel-scripts/install_windows.bat b/ci/intel-scripts/install_windows.bat new file mode 100644 index 000000000..ebba9d548 --- /dev/null +++ b/ci/intel-scripts/install_windows.bat @@ -0,0 +1,16 @@ +REM SPDX-FileCopyrightText: 2022 Intel Corporation +REM +REM SPDX-License-Identifier: MIT + +set URL=%1 +set COMPONENTS=%2 + +curl.exe --output %TEMP%\webimage.exe --url %URL% --retry 5 --retry-delay 5 +start /b /wait %TEMP%\webimage.exe -s -x -f webimage_extracted --log extract.log +del %TEMP%\webimage.exe +if "%COMPONENTS%"=="" ( + webimage_extracted\bootstrapper.exe -s --action install --eula=accept -p=NEED_VS2017_INTEGRATION=0 -p=NEED_VS2019_INTEGRATION=0 -p=NEED_VS2022_INTEGRATION=0 --log-dir=. +) else ( + webimage_extracted\bootstrapper.exe -s --action install --components=%COMPONENTS% --eula=accept -p=NEED_VS2017_INTEGRATION=0 -p=NEED_VS2019_INTEGRATION=0 -p=NEED_VS2022_INTEGRATION=0 --log-dir=. +) +rd /s/q "webimage_extracted" |
