blob: ab1c45eff9d661acce3193a6f24965ed5c36de2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
|
type: Group
instructions:
- type: EnvironmentVariable
variableName: QTEST_ENVIRONMENT
variableValue: "ci"
- type: EnvironmentVariable
variableName: PYSIDE_VIRTUALENV
variableValue: "{{.AgentWorkingDir}}\\pyside\\pyside-setup\\env"
enable_if:
condition: property
property: host.os
equals_value: Windows
- type: EnvironmentVariable
variableName: PYSIDE_VIRTUALENV
variableValue: "{{.AgentWorkingDir}}/pyside/pyside-setup/env"
enable_if:
condition: or
conditions:
- condition: property
property: host.os
equals_value: MacOS
- condition: property
property: host.os
equals_value: Linux
- type: EnvironmentVariable
variableName: TARGET_ARCHITECTURE
variableValue: amd64
enable_if:
condition: and
conditions:
- condition: property
property: target.arch
equals_value: X86_64
- condition: property
property: host.os
equals_value: Windows
- type: EnvironmentVariable
variableName: TARGET_ARCHITECTURE
variableValue: amd64_x86
enable_if:
condition: and
conditions:
- condition: property
property: target.arch
equals_value: X86
- condition: property
property: host.os
equals_value: Windows
- type: EnvironmentVariable
variableName: CI_TARGET_ARCHITECTURE
variableValue: X86_64
enable_if:
condition: property
property: target.arch
equals_value: X86_64
- type: EnvironmentVariable
variableName: CI_TARGET_ARCHITECTURE
variableValue: X86
enable_if:
condition: property
property: target.arch
equals_value: X86
- type: EnvironmentVariable
variableName: CI_PACKAGING_FEATURE
variableValue: "--packaging"
enable_if:
condition: property
property: features
contains_value: Packaging
- type: EnvironmentVariable
variableName: CI_USE_SCCACHE
variableValue: "--compiler-launcher=sccache"
enable_if:
condition: property
property: features
contains_value: Sccache
- type: EnvironmentVariable
variableName: CI_OS
variableValue: "MacOS"
enable_if:
condition: property
property: host.os
equals_value: MacOS
- type: EnvironmentVariable
variableName: CI_OS
variableValue: "Linux"
enable_if:
condition: property
property: host.os
equals_value: Linux
- type: EnvironmentVariable
variableName: CI_OS
variableValue: "Windows"
enable_if:
condition: property
property: host.os
equals_value: Windows
- type: EnvironmentVariable
variableName: MAKEFLAGS
variableValue: ""
enable_if:
condition: property
property: host.os
equals_value: Windows
- type: AppendToEnvironmentVariable
variableName: PATH
variableValue: ;%CI_JOM_PATH%
enable_if:
condition: property
property: host.os
equals_value: Windows
- type: PrependToEnvironmentVariable
variableName: PATH
variableValue: "{{.Env.PYTHON3_PATH}}/bin:"
enable_if:
condition: property
property: host.os
equals_value: MacOS
- type: PrependToEnvironmentVariable
variableName: PATH
variableValue: "{{.Env.PYTHON3_PATH}};"
enable_if:
condition: property
property: host.os
equals_value: Windows
- type: PrependToEnvironmentVariable
variableName: PATH
variableValue: "/Users/qt/.local/bin/:"
enable_if:
condition: property
property: host.osVersion
equals_value: MacOS_11_00
- type: PrependToEnvironmentVariable
variableName: PATH
variableValue: "/Users/qt/work/install/bin:"
enable_if:
condition: property
property: host.os
equals_value: MacOS
- type: PrependToEnvironmentVariable
variableName: PATH
variableValue: "/home/qt/work/install/bin:"
enable_if:
condition: property
property: host.os
equals_value: Linux
- type: PrependToEnvironmentVariable
variableName: PATH
variableValue: "\\Users\\qt\\work\\install\\bin;"
enable_if:
condition: property
property: host.os
equals_value: Windows
- type: EnvironmentVariable
variableName: ICC64_18_LDLP
variableValue: /opt/intel/lib/intel64
enable_if:
condition: property
property: target.compiler
equals_value: ICC_18
- type: EnvironmentVariable
variableName: ICC64_18_PATH # Seems a bit hard to maintain
variableValue: /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64:/opt/intel/bin
enable_if:
condition: property
property: target.compiler
equals_value: ICC_18
- type: AppendToEnvironmentVariable
variableName: LD_LIBRARY_PATH
variableValue: :/opt/intel/lib/intel64
enable_if:
condition: property
property: target.compiler
equals_value: ICC_18
- type: AppendToEnvironmentVariable
variableName: PATH
variableValue: ":{{.Env.ICC64_18_PATH}}"
enable_if:
condition: property
property: target.compiler
equals_value: ICC_18
- type: EnvironmentVariable
variableName: LLVM_INSTALL_DIR
variableValue: "{{.Env.LLVM_DYNAMIC_LIBS_100}}"
disable_if:
condition: and
conditions:
- condition: property
property: target.arch
equals_value: X86_64-ARM64 # When target arch is universal binary, we can use the default libclang
- condition: property
property: host.os
equals_value: MacOS
- type: ExecuteCommand
command: "keyring --disable"
maxTimeInSeconds: 14400
maxTimeBetweenOutput: 1200
enable_if:
condition: and
conditions:
- condition: property
property: host.os
equals_value: Linux
- condition: property
property: host.arch
equals_value: AARCH64
userMessageOnFailure: >
Failed to disable keyring
- type: ExecuteCommand
command: "sudo apt-get install python3-pip libclang-11-dev clang -y"
maxTimeInSeconds: 14400
maxTimeBetweenOutput: 1200
enable_if:
condition: and
conditions:
- condition: property
property: host.os
equals_value: Linux
- condition: property
property: host.arch
equals_value: AARCH64
userMessageOnFailure: >
Failed to install dependencies
- type: ExecuteCommand
command: "python3 -m pip install -U setuptools==67.7.2"
maxTimeInSeconds: 14400
maxTimeBetweenOutput: 1200
enable_if:
condition: and
conditions:
- condition: property
property: host.os
equals_value: Linux
- condition: property
property: host.arch
equals_value: AARCH64
userMessageOnFailure: >
Failed to install setuptools
- type: EnvironmentVariable
variableName: LLVM_INSTALL_DIR
variableValue: "/usr/lib/llvm-11/lib"
enable_if:
condition: and
conditions:
- condition: property
property: target.arch
equals_value: AARCH64
- condition: property
property: host.os
equals_value: Linux
- type: EnvironmentVariable
variableName: interpreter
variableValue: "python3.8"
enable_if:
condition: property
property: host.osVersion
in_values: [RHEL_8_6, RHEL_8_8]
- type: EnvironmentVariable
variableName: interpreter
variableValue: "python3"
enable_if: # Enable for others than rhl 8.*
condition: property
property: target.osVersion
not_in_values: [RHEL_8_6, RHEL_8_8]
|