Skip to content

Commit 9d162f8

Browse files
authored
switch Windows to offline install (#23)
1 parent 178f09a commit 9d162f8

File tree

7 files changed

+56
-13
lines changed

7 files changed

+56
-13
lines changed

.appveyor.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
environment:
66
global:
7-
WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260.exe
8-
WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266.exe
7+
WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260_offline.exe
8+
WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266_offline.exe
99
MACOS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17230/m_HPCKit_b_2021.1.10.2260.dmg
1010
WINDOWS_CPP_COMPONENTS: intel.oneapi.win.cpp-compiler
1111
WINDOWS_FORTRAN_COMPONENTS: intel.oneapi.win.ifort-compiler
@@ -50,6 +50,8 @@ for:
5050
cmd: scripts/install_windows.bat %WINDOWS_HPCKIT_URL% %WINDOWS_CPP_COMPONENTS%
5151
build_script:
5252
cmd: scripts/build_windows.bat c++
53+
54+
# Delete the following if you don't want to save install logs
5355
artifacts:
5456
- name: InstallLogs
5557
path: |
@@ -64,6 +66,8 @@ for:
6466
cmd: scripts/install_windows.bat %WINDOWS_HPCKIT_URL% %WINDOWS_FORTRAN_COMPONENTS%
6567
build_script:
6668
cmd: scripts/build_windows.bat fortran
69+
70+
# Delete the following if you don't want to save install logs
6771
artifacts:
6872
- name: InstallLogs
6973
path: |
@@ -78,6 +82,8 @@ for:
7882
cmd: scripts/install_windows.bat %WINDOWS_BASEKIT_URL% %WINDOWS_DPCPP_COMPONENTS%
7983
build_script:
8084
cmd: scripts/build_windows.bat dpc++
85+
86+
# Delete the following if you don't want to save install logs
8187
artifacts:
8288
- name: InstallLogs
8389
path: |
@@ -117,6 +123,8 @@ for:
117123
sh: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_CPP_COMPONENTS
118124
build_script:
119125
sh: scripts/build_macos.sh c++
126+
127+
# Delete the following if you don't want to save install logs
120128
artifacts:
121129
- name: InstallLogs
122130
path: |
@@ -130,6 +138,8 @@ for:
130138
sh: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_FORTRAN_COMPONENTS
131139
build_script:
132140
sh: scripts/build_macos.sh fortran
141+
142+
# Delete the following if you don't want to save install logs
133143
artifacts:
134144
- name: InstallLogs
135145
path: |

.azure-pipelines.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ trigger:
77

88
variables:
99
- name: WINDOWS_BASEKIT_URL
10-
value: https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260.exe
10+
value: https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260_offline.exe
1111
- name: WINDOWS_HPCKIT_URL
12-
value: https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266.exe
12+
value: https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266_offline.exe
1313
- name: MACOS_HPCKIT_URL
1414
value: https://registrationcenter-download.intel.com/akdlm/irc_nas/17230/m_HPCKit_b_2021.1.10.2260.dmg
1515
- name: WINDOWS_CPP_COMPONENTS
@@ -47,6 +47,8 @@ jobs:
4747
displayName: install
4848
- script: scripts/build_windows.bat c++
4949
displayName: build
50+
51+
# Delete the following if you don't want to save install logs
5052
- task: CopyFiles@2
5153
condition: always()
5254
inputs:
@@ -70,6 +72,8 @@ jobs:
7072
displayName: install
7173
- script: scripts/build_windows.bat fortran
7274
displayName: build
75+
76+
# Delete the following if you don't want to save install logs
7377
- task: CopyFiles@2
7478
condition: always()
7579
inputs:
@@ -93,6 +97,8 @@ jobs:
9397
displayName: install
9498
- script: scripts/build_windows.bat dpc++
9599
displayName: build
100+
101+
# Delete the following if you don't want to save install logs
96102
- task: CopyFiles@2
97103
condition: always()
98104
inputs:
@@ -173,6 +179,8 @@ jobs:
173179
displayName: install
174180
- script: scripts/build_macos.sh c++
175181
displayName: build
182+
183+
# Delete the following if you don't want to save install logs
176184
- task: CopyFiles@2
177185
condition: always()
178186
inputs:
@@ -195,6 +203,8 @@ jobs:
195203
displayName: install
196204
- script: scripts/build_macos.sh fortran
197205
displayName: build
206+
207+
# Delete the following if you don't want to save install logs
198208
- task: CopyFiles@2
199209
condition: always()
200210
inputs:

.circleci/config.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ jobs:
1616
- checkout
1717
- run:
1818
name: install
19-
command: scripts/install_windows.bat https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266.exe intel.oneapi.win.cpp-compiler
19+
command: scripts/install_windows.bat https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266_offline.exe intel.oneapi.win.cpp-compiler
2020
- run:
2121
name: build
2222
command: scripts/build_windows.bat c++ 2017_build_tools
23+
24+
# Delete the following if you don't want to save install logs
2325
- run:
2426
command: |
2527
mkdir InstallLogs
@@ -36,10 +38,12 @@ jobs:
3638
- checkout
3739
- run:
3840
name: install
39-
command: scripts/install_windows.bat https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266.exe intel.oneapi.win.ifort-compiler
41+
command: scripts/install_windows.bat https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266_offline.exe intel.oneapi.win.ifort-compiler
4042
- run:
4143
name: build
4244
command: scripts/build_windows.bat fortran 2017_build_tools
45+
46+
# Delete the following if you don't want to save install logs
4347
- run:
4448
command: |
4549
mkdir InstallLogs
@@ -56,10 +60,12 @@ jobs:
5660
- checkout
5761
- run:
5862
name: install
59-
command: scripts/install_windows.bat https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260.exe intel.oneapi.win.dpcpp-compiler
63+
command: scripts/install_windows.bat https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260_offline.exe intel.oneapi.win.dpcpp-compiler
6064
- run:
6165
name: build
6266
command: scripts/build_windows.bat dpc++ 2017_build_tools
67+
68+
# Delete the following if you don't want to save install logs
6369
- run:
6470
command: |
6571
mkdir InstallLogs

.github/workflows/build_all.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
push
99

1010
env:
11-
WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260.exe
12-
WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266.exe
11+
WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260_offline.exe
12+
WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266_offline.exe
1313
MACOS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17230/m_HPCKit_b_2021.1.10.2260.dmg
1414
WINDOWS_CPP_COMPONENTS: intel.oneapi.win.cpp-compiler
1515
WINDOWS_FORTRAN_COMPONENTS: intel.oneapi.win.ifort-compiler
@@ -32,6 +32,8 @@ jobs:
3232
run: scripts/install_windows.bat $WINDOWS_HPCKIT_URL $WINDOWS_CPP_COMPONENTS
3333
- name: build
3434
run: scripts/build_windows.bat c++
35+
36+
# Delete the following if you don't want to save install logs
3537
- name: Saving install logs
3638
if: ${{ always() }}
3739
uses: actions/upload-artifact@v2
@@ -54,6 +56,8 @@ jobs:
5456
run: scripts/install_windows.bat $WINDOWS_HPCKIT_URL $WINDOWS_FORTRAN_COMPONENTS
5557
- name: build
5658
run: scripts/build_windows.bat fortran
59+
60+
# Delete the following if you don't want to save install logs
5761
- name: Saving install logs
5862
if: ${{ always() }}
5963
uses: actions/upload-artifact@v2
@@ -76,6 +80,8 @@ jobs:
7680
run: scripts/install_windows.bat $WINDOWS_BASEKIT_URL $WINDOWS_DPCPP_COMPONENTS
7781
- name: build
7882
run: scripts/build_windows.bat dpc++
83+
84+
# Delete the following if you don't want to save install logs
7985
- name: Saving install logs
8086
if: ${{ always() }}
8187
uses: actions/upload-artifact@v2
@@ -164,6 +170,8 @@ jobs:
164170
run: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_CPP_COMPONENTS
165171
- name: build
166172
run: scripts/build_macos.sh c++
173+
174+
# Delete the following if you don't want to save install logs
167175
- name: Saving install logs
168176
if: ${{ always() }}
169177
uses: actions/upload-artifact@v2
@@ -185,6 +193,8 @@ jobs:
185193
run: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_FORTRAN_COMPONENTS
186194
- name: build
187195
run: scripts/build_macos.sh fortran
196+
197+
# Delete the following if you don't want to save install logs
188198
- name: Saving install logs
189199
if: ${{ always() }}
190200
uses: actions/upload-artifact@v2

.gitlab-ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ stages:
66
- build
77

88
variables:
9-
WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260.exe
10-
WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266.exe
9+
WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260_offline.exe
10+
WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266_offline.exe
1111
MACOS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17230/m_HPCKit_b_2021.1.10.2260.dmg
1212
WINDOWS_CPP_COMPONENTS: intel.oneapi.win.cpp-compiler
1313
WINDOWS_FORTRAN_COMPONENTS: intel.oneapi.win.ifort-compiler
@@ -31,6 +31,8 @@ build_windows_cpp:
3131
script:
3232
- scripts/install_windows.bat $WINDOWS_HPCKIT_URL $WINDOWS_CPP_COMPONENTS
3333
- scripts/build_windows.bat c++ 2019_build_tools
34+
35+
# Delete the following if you don't want to save install logs
3436
artifacts:
3537
paths:
3638
- extract.log
@@ -45,6 +47,8 @@ build_windows_fortran:
4547
script:
4648
- scripts/install_windows.bat $WINDOWS_HPCKIT_URL $WINDOWS_FORTRAN_COMPONENTS
4749
- scripts/build_windows.bat fortran 2019_build_tools
50+
51+
# Delete the following if you don't want to save install logs
4852
artifacts:
4953
paths:
5054
- extract.log
@@ -59,6 +63,8 @@ build_windows_dpcpp:
5963
script:
6064
- scripts/install_windows.bat $WINDOWS_BASEKIT_URL $WINDOWS_DPCPP_COMPONENTS
6165
- scripts/build_windows.bat dpc++ 2019_build_tools
66+
67+
# Delete the following if you don't want to save install logs
6268
artifacts:
6369
paths:
6470
- extract.log

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
language: minimal
66
env:
77
global:
8-
- WINDOWS_BASEKIT_URL=https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260.exe
9-
- WINDOWS_HPCKIT_URL=https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266.exe
8+
- WINDOWS_BASEKIT_URL=https://registrationcenter-download.intel.com/akdlm/irc_nas/17191/w_BaseKit_b_2021.1.10.2260_offline.exe
9+
- WINDOWS_HPCKIT_URL=https://registrationcenter-download.intel.com/akdlm/irc_nas/17163/w_HPCKit_b_2021.1.10.2266_offline.exe
1010
- MACOS_HPCKIT_URL=https://registrationcenter-download.intel.com/akdlm/irc_nas/17230/m_HPCKit_b_2021.1.10.2260.dmg
1111
- WINDOWS_CPP_COMPONENTS=intel.oneapi.win.cpp-compiler
1212
- WINDOWS_FORTRAN_COMPONENTS=intel.oneapi.win.ifort-compiler

scripts/install_windows.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ set COMPONENTS=%2
77

88
curl.exe --output webimage.exe --url %URL% --retry 5 --retry-delay 5
99
start /b /wait webimage.exe -s -x -f webimage_extracted --log extract.log
10+
del webimage.exe
1011
webimage_extracted\bootstrapper.exe -s --action install --components=%COMPONENTS% --eula=accept --continue-with-optional-error=yes -p=NEED_VS2017_INTEGRATION=0 -p=NEED_VS2019_INTEGRATION=0 --log-dir=.

0 commit comments

Comments
 (0)