blob: 4ff76f5eec518ae05a834b880cf3f5c7bd9fce4c (
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
|
# Beware: git branch names need the 'refs/heads/' prefix, while tags need 'refs/tags/'
- project:
name: tcwg_bmk_ci_#{TOOLCHAIN}
binutils_url: git://sourceware.org/git/binutils-gdb.git
gcc_url: https://github.com/gcc-mirror/gcc.git
#if TOOLCHAIN_gnu_eabi
newlib_url: git://sourceware.org/git/newlib-cygwin.git
#else
glibc_url: git://sourceware.org/git/glibc.git
#endif
#if TOOLCHAIN_llvm
llvm_url: https://github.com/llvm/llvm-project.git
#endif
hw:
#if TOOLCHAIN_gnu_eabi
- stm32:
target: arm_eabi
node: tcwg-x86_64-dev-02
#else
- tk1:
target: arm
node: tcwg-x86_64-build_bmk_tk1
- tx1:
target: aarch64
node: tcwg-x86_64-build_bmk_tx1
#endif
toolchain_name: #{TOOLCHAIN}
components: #{COMPONENTS}
toolchain_ver:
- master:
binutils_branch: refs/heads/master
gcc_branch: refs/heads/master
#if !TOOLCHAIN_gnu_eabi
glibc_branch: refs/heads/master
#endif
#if TOOLCHAIN_llvm
llvm_branch: refs/heads/main
#endif
#if TOOLCHAIN_gnu_eabi
newlib_branch: refs/heads/master
#endif
distro: lts
- release:
binutils_branch: refs/heads/binutils-2_36-branch
gcc_branch: refs/heads/releases/gcc-10
#if !TOOLCHAIN_gnu_eabi
glibc_branch: refs/heads/release/2.32/master
#endif
#if TOOLCHAIN_llvm
llvm_branch: refs/heads/release/12.x
#endif
#if TOOLCHAIN_gnu_eabi
newlib_branch: refs/tags/newlib-3.3.0
#endif
distro: lts_1
bmk:
#if TOOLCHAIN_gnu_eabi
- coremark
#else
- spec2k6
#endif
cflags:
- Os:
cron_schedule: H H H/7 * *
- Os_LTO:
cron_schedule: H H H/7 * *
- Oz:
cron_schedule: H H H/7 * *
- Oz_LTO:
cron_schedule: H H H/7 * *
- O2:
cron_schedule: H H H/7 * *
- O2_LTO:
cron_schedule: H H H/7 * *
- O3:
cron_schedule: H H H/7 * *
- O3_LTO:
cron_schedule: H H H/7 * *
- Os-vs-Os_LTO:
cron_schedule: H H H * *
- O2-vs-O2_LTO:
cron_schedule: H H H * *
- O3-vs-O3_LTO:
cron_schedule: H H H * *
- O3_VECT:
cron_schedule: H H H/7 * *
- O3_LTO_VECT:
cron_schedule: H H H/7 * *
jobs:
- 'tcwg_bmk_ci_#{TOOLCHAIN}-build-tcwg_bmk_{hw}-#{TOOLCHAIN}-{toolchain_ver}-{target}-{bmk}-{cflags}'
- 'tcwg_bmk_ci_#{TOOLCHAIN}-bisect-tcwg_bmk_{hw}-#{TOOLCHAIN}-{toolchain_ver}-{target}-{bmk}-{cflags}'
exclude:
- toolchain_name: gnu
cflags: Oz
- toolchain_name: gnu
cflags: Oz_LTO
- toolchain_name: gnu_eabi
cflags: Oz
- toolchain_name: gnu_eabi
cflags: Oz_LTO
- toolchain_name: llvm
cflags: Os-vs-Os_LTO
- toolchain_name: llvm
cflags: O2-vs-O2_LTO
- toolchain_name: llvm
cflags: O3-vs-O3_LTO
- toolchain_name: llvm
cflags: O3_VECT
- toolchain_name: llvm
cflags: O3_LTO_VECT
- view:
name: tcwg_bmk_ci_#{TOOLCHAIN}
view-type: list
regex: 'tcwg_bmk_ci_#{TOOLCHAIN}-.*'
#include tcwg/round-robin.yaml.inc
- job-template:
name: tcwg_bmk_ci_#{TOOLCHAIN}-build-tcwg_bmk_{hw}-#{TOOLCHAIN}-{toolchain_ver}-{target}-{bmk}-{cflags}
project-type: freestyle
defaults: global
properties:
- default-properties
- build-blocker:
blocking-jobs:
- "tcwg_bmk_dev_.*-tcwg_bmk_{hw}"
- "tcwg_bmk_ci_#{TOOLCHAIN}-bisect-tcwg_bmk_{hw}-#{TOOLCHAIN}-{toolchain_ver}-{target}-{bmk}-{cflags}"
queue-scanning: 'ALL'
parameters:
- build-parameters:
ci_project: 'tcwg_bmk_{hw}'
ci_config: '#{TOOLCHAIN}-{toolchain_ver}-{target}-{bmk}-{cflags}'
binutils_url: '{binutils_url}'
gcc_url: '{gcc_url}'
#if !TOOLCHAIN_gnu_eabi
glibc_url: '{glibc_url}'
#endif
#if TOOLCHAIN_llvm
llvm_url: '{llvm_url}'
#endif
#if TOOLCHAIN_gnu_eabi
newlib_url: '{newlib_url}'
#endif
default_branch: default
distro: '{distro}'
disabled: false
node: '{node}'
concurrent: false
display-name: 'TCWG Build tcwg_bmk_{hw}/#{TOOLCHAIN}-{toolchain_ver}-{target}-{bmk}-{cflags}'
workspace: workspace/tcwg_bmk_$EXECUTOR_NUMBER
scm:
- build-scms:
binutils_url: '{binutils_url}'
binutils_branch: '{binutils_branch}'
gcc_url: '{gcc_url}'
gcc_branch: '{gcc_branch}'
#if !TOOLCHAIN_gnu_eabi
glibc_url: '{glibc_url}'
glibc_branch: '{glibc_branch}'
#endif
#if TOOLCHAIN_llvm
llvm_url: '{llvm_url}'
llvm_branch: '{llvm_branch}'
#endif
#if TOOLCHAIN_gnu_eabi
newlib_url: '{newlib_url}'
newlib_branch: '{newlib_branch}'
#endif
triggers:
- pollscm:
cron: '{cron_schedule}'
wrappers:
- build-wrappers:
timeout: 600
builders:
- run-build:
build_script: 'tcwg_bmk-build.sh'
components: '{components}'
rr_project: 'tcwg_bmk_ci_#{TOOLCHAIN}'
ci_project_config: 'tcwg_bmk_{hw}-#{TOOLCHAIN}-{toolchain_ver}-{target}-{bmk}-{cflags}'
publishers:
- build-publishers
- job-template:
name: tcwg_bmk_ci_#{TOOLCHAIN}-bisect-tcwg_bmk_{hw}-#{TOOLCHAIN}-{toolchain_ver}-{target}-{bmk}-{cflags}
project-type: freestyle
defaults: global
properties:
- default-properties
- build-blocker:
# Run at most 1 bisect job for all configurations.
# Bisect jobs can easily run for 5+ hours, and a few of them
# can hog the entire TCWG build farm for a long time. Since
# same regression tends to appear in multiple configurations,
# run bisections for all configurations in-order.
blocking-jobs:
- "tcwg_bmk_dev_.*-tcwg_bmk_{hw}"
- "tcwg_bmk_ci_.*-bisect-tcwg_bmk_{hw}-.*"
queue-scanning: 'BUILDABLE'
parameters:
- bisect-parameters:
ci_project: 'tcwg_bmk_{hw}'
ci_config: '#{TOOLCHAIN}-{toolchain_ver}-{target}-{bmk}-{cflags}'
distro: '{distro}'
disabled: false
node: '{node}'
concurrent: false
display-name: 'TCWG Bisect tcwg_bmk_{hw}/#{TOOLCHAIN}-{toolchain_ver}-{target}-{bmk}-{cflags}'
workspace: workspace/tcwg_bmk_$EXECUTOR_NUMBER
scm:
- jenkins-scripts
- bmk-scripts
wrappers:
- bisect-wrappers:
timeout: 2880
builders:
- run-bisect:
build_script: 'tcwg_bmk-build.sh'
rr_project: 'tcwg_bmk_ci_#{TOOLCHAIN}'
ci_project_config: 'tcwg_bmk_{hw}-#{TOOLCHAIN}-{toolchain_ver}-{target}-{bmk}-{cflags}'
publishers:
- bisect-publishers
|