@@ -7,15 +7,15 @@ trigger:
7
7
8
8
variables :
9
9
- name : WINDOWS_BASEKIT_URL
10
- value : https://registrationcenter-download.intel.com/akdlm/irc_nas/18599 /w_BaseKit_p_2022.1.3.210_offline .exe
10
+ value : https://registrationcenter-download.intel.com/akdlm/IRC_NAS/18674 /w_BaseKit_p_2022.2.0.252_offline .exe
11
11
- name : WINDOWS_HPCKIT_URL
12
- value : https://registrationcenter-download.intel.com/akdlm/irc_nas/18578 /w_HPCKit_p_2022.1.3.145_offline .exe
12
+ value : https://registrationcenter-download.intel.com/akdlm/IRC_NAS/18680 /w_HPCKit_p_2022.2.0.173_offline .exe
13
13
- name : LINUX_BASEKIT_URL
14
- value : https://registrationcenter-download.intel.com/akdlm/irc_nas/18487 /l_BaseKit_p_2022.1.2.146_offline .sh
14
+ value : https://registrationcenter-download.intel.com/akdlm/irc_nas/18673 /l_BaseKit_p_2022.2.0.262_offline .sh
15
15
- name : LINUX_HPCKIT_URL
16
- value : https://registrationcenter-download.intel.com/akdlm/irc_nas/18479 /l_HPCKit_p_2022.1.2.117_offline .sh
16
+ value : https://registrationcenter-download.intel.com/akdlm/irc_nas/18679 /l_HPCKit_p_2022.2.0.191_offline .sh
17
17
- name : MACOS_HPCKIT_URL
18
- value : https://registrationcenter-download.intel.com/akdlm/irc_nas/18341 /m_HPCKit_p_2022.1 .0.86_offline .dmg
18
+ value : https://registrationcenter-download.intel.com/akdlm/IRC_NAS/18681 /m_HPCKit_p_2022.2 .0.158_offline .dmg
19
19
- name : WINDOWS_CPP_COMPONENTS
20
20
value : intel.oneapi.win.cpp-compiler
21
21
- name : WINDOWS_FORTRAN_COMPONENTS
@@ -39,9 +39,11 @@ variables:
39
39
- name : MACOS_FORTRAN_COMPONENTS
40
40
value : intel.oneapi.mac.ifort-compiler
41
41
- name : SAMPLES_TAG
42
- value : 2022.1 .0
42
+ value : 2022.2 .0
43
43
- name : COMPILER_VERSION
44
- value : 2022.0.3
44
+ value : 2022.1.0
45
+ - name : VS_VER
46
+ value : vs2019
45
47
46
48
resources :
47
49
containers :
@@ -57,126 +59,28 @@ jobs:
57
59
pool :
58
60
vmImage : ' windows-2019'
59
61
steps :
60
- - task : Cache@2
61
- inputs :
62
- path : C:\Program Files (x86)\Intel\oneAPI\compiler
63
- key : ' "install" | "$(WINDOWS_HPCKIT_URL)" | "$(WINDOWS_CPP_COMPONENTS)" | compiler | scripts/cache_exclude_windows.sh'
64
- cacheHitVar : CACHE_RESTORED
65
62
- script : scripts/install_windows.bat $(WINDOWS_HPCKIT_URL) $(WINDOWS_CPP_COMPONENTS)
66
63
displayName : install
67
- condition : ne(variables.CACHE_RESTORED, 'true')
68
- - script : scripts/build_windows.bat c++ "" $(SAMPLES_TAG)
64
+ - script : scripts/build_windows.bat c++ ${VS_VER} $(SAMPLES_TAG)
69
65
displayName : build
70
- - bash : scripts/cache_exclude_windows.sh
71
- displayName : exclude unused files from cache
72
- condition : ne(variables.CACHE_RESTORED, 'true')
73
-
74
- # Delete the following if you don't want to save install logs
75
- - task : CopyFiles@2
76
- condition : ne(variables.CACHE_RESTORED, 'true')
77
- inputs :
78
- sourceFolder : ' $(Build.SourcesDirectory)'
79
- contents : |
80
- extract.log
81
- bootstrapper*
82
- installer*
83
- targetFolder : ' $(Build.ArtifactStagingDirectory)'
84
- - task : PublishBuildArtifacts@1
85
- condition : ne(variables.CACHE_RESTORED, 'true')
86
- inputs :
87
- pathToPublish : ' $(Build.ArtifactStagingDirectory)'
88
- artifactName : InstallLogs_$(Agent.JobName)
89
66
90
67
- job : build_windows_fortran
91
68
pool :
92
69
vmImage : ' windows-2019'
93
70
steps :
94
- - task : Cache@2
95
- inputs :
96
- path : C:\Program Files (x86)\Intel\oneAPI\compiler
97
- key : ' "install" | "$(WINDOWS_HPCKIT_URL)" | "$(WINDOWS_FORTRAN_COMPONENTS)" | "compiler" | scripts/cache_exclude_windows.sh'
98
- cacheHitVar : CACHE_RESTORED
99
71
- script : scripts/install_windows.bat $(WINDOWS_HPCKIT_URL) $(WINDOWS_FORTRAN_COMPONENTS)
100
72
displayName : install
101
- condition : ne(variables.CACHE_RESTORED, 'true')
102
- - script : scripts/build_windows.bat fortran "" $(SAMPLES_TAG)
73
+ - script : scripts/build_windows.bat fortran ${VS_VER} $(SAMPLES_TAG)
103
74
displayName : build
104
- - bash : scripts/cache_exclude_windows.sh
105
- displayName : exclude unused files from cache
106
- condition : ne(variables.CACHE_RESTORED, 'true')
107
-
108
- # Delete the following if you don't want to save install logs
109
- - task : CopyFiles@2
110
- condition : ne(variables.CACHE_RESTORED, 'true')
111
- inputs :
112
- sourceFolder : ' $(Build.SourcesDirectory)'
113
- contents : |
114
- extract.log
115
- bootstrapper*
116
- installer*
117
- targetFolder : ' $(Build.ArtifactStagingDirectory)'
118
- - task : PublishBuildArtifacts@1
119
- condition : ne(variables.CACHE_RESTORED, 'true')
120
- inputs :
121
- pathToPublish : ' $(Build.ArtifactStagingDirectory)'
122
- artifactName : InstallLogs_$(Agent.JobName)
123
75
124
76
- job : build_windows_dpcpp
125
77
pool :
126
78
vmImage : ' windows-2019'
127
79
steps :
128
- - task : Cache@2 # multiple paths per cache not supported yet. See https://github.com/microsoft/azure-pipelines-agent/pull/2834
129
- inputs :
130
- path : C:\Program Files (x86)\Intel\oneAPI\compiler
131
- key : ' "install" | "$(WINDOWS_BASEKIT_URL)" | "$(WINDOWS_DPCPP_COMPONENTS)" | "compiler" | scripts/cache_exclude_windows.sh'
132
- cacheHitVar : CACHE_RESTORED
133
- - task : Cache@2
134
- condition : eq(variables.CACHE_RESTORED, 'true')
135
- inputs :
136
- path : C:\Program Files (x86)\Intel\oneAPI\tbb
137
- key : ' "install" | "$(WINDOWS_BASEKIT_URL)" | "$(WINDOWS_DPCPP_COMPONENTS)" | "tbb" | scripts/cache_exclude_windows.sh'
138
- cacheHitVar : CACHE_RESTORED
139
- - task : Cache@2
140
- condition : eq(variables.CACHE_RESTORED, 'true')
141
- inputs :
142
- path : opencl # caching of individual files is not supported, caching OpenCL.dll in a folder as a workaround.
143
- key : ' "install" | "$(WINDOWS_BASEKIT_URL)" | "$(WINDOWS_DPCPP_COMPONENTS)" | "opencl_folder" | scripts/cache_exclude_windows.sh'
144
- cacheHitVar : CACHE_RESTORED
145
80
- script : scripts/install_windows.bat $(WINDOWS_BASEKIT_URL) $(WINDOWS_DPCPP_COMPONENTS)
146
81
displayName : install
147
- condition : ne(variables.CACHE_RESTORED, 'true')
148
- - script : scripts/restore_registry.bat $(COMPILER_VERSION)
149
- displayName : restory registry on cache hit
150
- condition : eq(variables.CACHE_RESTORED, 'true')
151
- - bash : cp opencl/OpenCL.dll C:/Windows/System32/
152
- displayName : restore OpenCL.dll from cache
153
- condition : eq(variables.CACHE_RESTORED, 'true')
154
- - script : scripts/build_windows.bat dpc++ "" $(SAMPLES_TAG)
82
+ - script : scripts/build_windows.bat dpc++ ${VS_VER} $(SAMPLES_TAG)
155
83
displayName : build
156
- - bash : scripts/cache_exclude_windows.sh
157
- displayName : exclude unused files from cache
158
- condition : ne(variables.CACHE_RESTORED, 'true')
159
- - bash : |
160
- mkdir -p opencl
161
- cp C:/Windows/System32/OpenCL.dll opencl/
162
- displayName: copy OpenCL.dll to a folder for caching
163
- condition: ne(variables.CACHE_RESTORED, 'true')
164
-
165
- # Delete the following if you don't want to save install logs
166
- - task : CopyFiles@2
167
- condition : ne(variables.CACHE_RESTORED, 'true')
168
- inputs :
169
- sourceFolder : ' $(Build.SourcesDirectory)'
170
- contents : |
171
- extract.log
172
- bootstrapper*
173
- installer*
174
- targetFolder : ' $(Build.ArtifactStagingDirectory)'
175
- - task : PublishBuildArtifacts@1
176
- condition : ne(variables.CACHE_RESTORED, 'true')
177
- inputs :
178
- pathToPublish : ' $(Build.ArtifactStagingDirectory)'
179
- artifactName : InstallLogs_$(Agent.JobName)
180
84
181
85
- job : build_linux_cpp
182
86
pool :
0 commit comments