Skip to content

Commit 9821254

Browse files
committed
Use "-pipe" to gcc/clang toolsets
1 parent 94bc4e1 commit 9821254

File tree

1 file changed

+43
-4
lines changed

1 file changed

+43
-4
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
# Linux, gcc-4.6
3030
- toolset: gcc-4.6
3131
cxxstd: "03,0x"
32+
cxxflags: -pipe
3233
address-model: 32,64
3334
os: ubuntu-latest
3435
container: ubuntu:16.04
@@ -39,6 +40,7 @@ jobs:
3940
# Linux, gcc-4.7
4041
- toolset: gcc-4.7
4142
cxxstd: "03,11"
43+
cxxflags: -pipe
4244
address-model: 32,64
4345
os: ubuntu-latest
4446
container: ubuntu:16.04
@@ -47,6 +49,7 @@ jobs:
4749
# Linux, gcc-4.8
4850
- toolset: gcc-4.8
4951
cxxstd: "03,11"
52+
cxxflags: -pipe
5053
address-model: 32,64
5154
os: ubuntu-latest
5255
container: ubuntu:18.04
@@ -55,13 +58,15 @@ jobs:
5558
# Linux, gcc-4.9
5659
- toolset: gcc-4.9
5760
cxxstd: "03,11"
61+
cxxflags: -pipe
5862
address-model: 32,64
5963
os: ubuntu-latest
6064
container: ubuntu:16.04
6165
install:
6266
- g++-4.9-multilib
6367
# Linux, gcc-5
6468
- toolset: gcc-5
69+
cxxflags: -pipe
6570
cxxstd: "03,11,14,1z"
6671
address-model: 32,64
6772
os: ubuntu-latest
@@ -71,6 +76,7 @@ jobs:
7176
# Linux, gcc-6
7277
- toolset: gcc-6
7378
cxxstd: "03,11,14,1z"
79+
cxxflags: -pipe
7480
address-model: 32,64
7581
os: ubuntu-latest
7682
container: ubuntu:18.04
@@ -79,6 +85,7 @@ jobs:
7985
# Linux, gcc-7
8086
- toolset: gcc-7
8187
cxxstd: "03,11,14,17"
88+
cxxflags: -pipe
8289
address-model: 32,64
8390
os: ubuntu-latest
8491
container: ubuntu:18.04
@@ -87,6 +94,7 @@ jobs:
8794
# Linux, gcc-8
8895
- toolset: gcc-8
8996
cxxstd: "03,11,14,17,2a"
97+
cxxflags: -pipe
9098
address-model: 32,64
9199
os: ubuntu-latest
92100
container: ubuntu:18.04
@@ -95,6 +103,7 @@ jobs:
95103
# Linux, gcc-9
96104
- toolset: gcc-9
97105
cxxstd: "03,11,14,17,2a"
106+
cxxflags: -pipe
98107
address-model: 32,64
99108
os: ubuntu-latest
100109
container: ubuntu:20.04
@@ -103,6 +112,7 @@ jobs:
103112
# Linux, gcc-10
104113
- toolset: gcc-10
105114
cxxstd: "03,11,14,17,20"
115+
cxxflags: -pipe
106116
address-model: 32,64
107117
os: ubuntu-latest
108118
container: ubuntu:20.04
@@ -111,6 +121,7 @@ jobs:
111121
# Linux, gcc-11
112122
- toolset: gcc-11
113123
cxxstd: "03,11,14,17,20,23"
124+
cxxflags: -pipe
114125
address-model: 32,64
115126
os: ubuntu-latest
116127
container: ubuntu:22.04
@@ -119,6 +130,7 @@ jobs:
119130
# Linux, gcc-12
120131
- toolset: gcc-12
121132
cxxstd: "03,11,14,17,20,23"
133+
cxxflags: -pipe
122134
address-model: 32,64
123135
os: ubuntu-latest
124136
container: ubuntu:22.04
@@ -127,13 +139,15 @@ jobs:
127139
# Linux, gcc-13
128140
- toolset: gcc-13
129141
cxxstd: "11,14,17,20,2b"
142+
cxxflags: -pipe
130143
os: ubuntu-latest
131144
container: ubuntu:24.04
132145
install: g++-13-multilib
133146
address-model: 32,64
134147
# Linux, gcc-14
135148
- toolset: gcc-14
136149
cxxstd: "11,14,17,20,2b"
150+
cxxflags: -pipe
137151
os: ubuntu-latest
138152
container: ubuntu:24.04
139153
install: g++-14-multilib
@@ -142,6 +156,7 @@ jobs:
142156
- name: UBSAN
143157
toolset: gcc-12
144158
cxxstd: "03,11,14,17,20,23"
159+
cxxflags: -pipe
145160
ubsan: 1
146161
os: ubuntu-latest
147162
container: ubuntu:22.04
@@ -154,6 +169,7 @@ jobs:
154169
- toolset: clang
155170
compiler: clang++-3.5
156171
cxxstd: "03,11"
172+
cxxflags: -pipe
157173
os: ubuntu-latest
158174
container: ubuntu:16.04
159175
install:
@@ -162,6 +178,7 @@ jobs:
162178
- toolset: clang
163179
compiler: clang++-3.6
164180
cxxstd: "03,11,14"
181+
cxxflags: -pipe
165182
os: ubuntu-latest
166183
container: ubuntu:16.04
167184
install:
@@ -170,6 +187,7 @@ jobs:
170187
- toolset: clang
171188
compiler: clang++-3.7
172189
cxxstd: "03,11,14"
190+
cxxflags: -pipe
173191
os: ubuntu-latest
174192
container: ubuntu:16.04
175193
install:
@@ -178,6 +196,7 @@ jobs:
178196
- toolset: clang
179197
compiler: clang++-3.8
180198
cxxstd: "03,11,14"
199+
cxxflags: -pipe
181200
os: ubuntu-latest
182201
container: ubuntu:16.04
183202
install:
@@ -186,6 +205,7 @@ jobs:
186205
- toolset: clang
187206
compiler: clang++-3.9
188207
cxxstd: "03,11,14"
208+
cxxflags: -pipe
189209
os: ubuntu-latest
190210
container: ubuntu:18.04
191211
install:
@@ -194,6 +214,7 @@ jobs:
194214
- toolset: clang
195215
compiler: clang++-4.0
196216
cxxstd: "03,11,14"
217+
cxxflags: -pipe
197218
os: ubuntu-latest
198219
container: ubuntu:18.04
199220
install:
@@ -202,6 +223,7 @@ jobs:
202223
- toolset: clang
203224
compiler: clang++-5.0
204225
cxxstd: "03,11,14,1z"
226+
cxxflags: -pipe
205227
os: ubuntu-latest
206228
container: ubuntu:18.04
207229
install:
@@ -210,6 +232,7 @@ jobs:
210232
- toolset: clang
211233
compiler: clang++-6.0
212234
cxxstd: "03,11,14,17"
235+
cxxflags: -pipe
213236
os: ubuntu-latest
214237
container: ubuntu:18.04
215238
install:
@@ -218,6 +241,7 @@ jobs:
218241
- toolset: clang
219242
compiler: clang++-7
220243
cxxstd: "03,11,14,17"
244+
cxxflags: -pipe
221245
os: ubuntu-latest
222246
container: ubuntu:18.04
223247
install:
@@ -227,6 +251,7 @@ jobs:
227251
- toolset: clang
228252
compiler: clang++-8
229253
cxxstd: "03,11,14,17,2a"
254+
cxxflags: -pipe
230255
os: ubuntu-latest
231256
container: ubuntu:18.04
232257
install:
@@ -237,6 +262,7 @@ jobs:
237262
- toolset: clang
238263
compiler: clang++-9
239264
cxxstd: "03,11,14,17,2a"
265+
cxxflags: -pipe
240266
os: ubuntu-latest
241267
container: ubuntu:20.04
242268
install:
@@ -245,6 +271,7 @@ jobs:
245271
- toolset: clang
246272
compiler: clang++-10
247273
cxxstd: "03,11,14,17,20"
274+
cxxflags: -pipe
248275
os: ubuntu-latest
249276
container: ubuntu:20.04
250277
install:
@@ -253,6 +280,7 @@ jobs:
253280
- toolset: clang
254281
compiler: clang++-11
255282
cxxstd: "03,11,14,17,20"
283+
cxxflags: -pipe
256284
os: ubuntu-latest
257285
container: ubuntu:22.04
258286
install:
@@ -261,6 +289,7 @@ jobs:
261289
- toolset: clang
262290
compiler: clang++-12
263291
cxxstd: "03,11,14,17,20"
292+
cxxflags: -pipe
264293
os: ubuntu-latest
265294
container: ubuntu:22.04
266295
install:
@@ -269,6 +298,7 @@ jobs:
269298
- toolset: clang
270299
compiler: clang++-13
271300
cxxstd: "03,11,14,17,20"
301+
cxxflags: -pipe
272302
os: ubuntu-latest
273303
container: ubuntu:22.04
274304
install:
@@ -277,6 +307,7 @@ jobs:
277307
- toolset: clang
278308
compiler: clang++-14
279309
cxxstd: "03,11,14,17,20"
310+
cxxflags: -pipe
280311
os: ubuntu-latest
281312
container: ubuntu:22.04
282313
install:
@@ -285,12 +316,14 @@ jobs:
285316
- toolset: clang
286317
compiler: clang++-15
287318
cxxstd: "03,11,14,17,20"
319+
cxxflags: -pipe
288320
container: ubuntu:22.04
289321
os: ubuntu-latest
290322
install: clang-15
291323
# Linux, clang-16
292324
- toolset: clang
293325
compiler: clang++-16
326+
cxxflags: -pipe
294327
cxxstd: "03,11,14,17,20,2b"
295328
container: ubuntu:24.04
296329
os: ubuntu-latest
@@ -299,13 +332,15 @@ jobs:
299332
- toolset: clang
300333
compiler: clang++-17
301334
cxxstd: "03,11,14,17,20,2b"
335+
cxxflags: -pipe
302336
container: ubuntu:24.04
303337
os: ubuntu-latest
304338
install: clang-17
305339
# Linux, clang-18
306340
- toolset: clang
307341
compiler: clang++-18
308342
cxxstd: "03,11,14,17,20,2b"
343+
cxxflags: -pipe
309344
container: ubuntu:24.04
310345
os: ubuntu-latest
311346
install: clang-18
@@ -318,7 +353,7 @@ jobs:
318353
- clang-15
319354
- libc++-15-dev
320355
- libc++abi-15-dev
321-
cxxflags: -stdlib=libc++
356+
cxxflags: -pipe -stdlib=libc++
322357
linkflags: -stdlib=libc++
323358
# Linux, clang-18 libc++
324359
- toolset: clang
@@ -329,14 +364,14 @@ jobs:
329364
- clang-18
330365
- libc++-18-dev
331366
- libc++abi-18-dev
332-
cxxflags: -stdlib=libc++
367+
cxxflags: -pipe -stdlib=libc++
333368
linkflags: -stdlib=libc++
334369
# Linux, clang-14 libc++, ubsan
335370
- name: UBSAN
336371
toolset: clang
337372
compiler: clang++-14
338373
cxxstd: "03,11,14,17,20"
339-
cxxflags: -stdlib=libc++
374+
cxxflags: -pipe -stdlib=libc++
340375
linkflags: -stdlib=libc++
341376
ubsan: 1
342377
os: ubuntu-22.04
@@ -349,7 +384,7 @@ jobs:
349384
toolset: clang
350385
compiler: clang++-18
351386
cxxstd: "11,14,17,20"
352-
cxxflags: -stdlib=libc++
387+
cxxflags: -pipe -stdlib=libc++
353388
linkflags: -stdlib=libc++
354389
ubsan: 1
355390
os: ubuntu-24.04
@@ -363,14 +398,17 @@ jobs:
363398
# Macos 12, clang
364399
- toolset: clang
365400
cxxstd: "11,14,17,20,2b"
401+
cxxflags: -pipe
366402
os: macos-12
367403
# Macos 13, clang
368404
- toolset: clang
369405
cxxstd: "11,14,17,20,2b"
406+
cxxflags: -pipe
370407
os: macos-13
371408
# Macos 17, clang
372409
- toolset: clang
373410
cxxstd: "11,14,17,20,2b"
411+
cxxflags: -pipe
374412
os: macos-14
375413

376414
timeout-minutes: 180
@@ -608,6 +646,7 @@ jobs:
608646
os: windows-2022
609647
- toolset: gcc
610648
cxxstd: "03,11,14,17,2a"
649+
cxxflags: -pipe
611650
addrmd: 64
612651
os: windows-2019
613652

0 commit comments

Comments
 (0)