63
63
#
64
64
65
65
# Need verision >= 3.5 for the features in use
66
- version : ' 3.5 '
66
+ version : ' 3.8 '
67
67
68
68
# Named volumes must be predefined according the docker compose rules. Many
69
69
# combinations have already been added, but if a needed configuration is missing
@@ -95,6 +95,31 @@ volumes:
95
95
amd64-alpine-icpc-icpc-cache :
96
96
amd64-alpine-gcc-9-11.0.3-cache :
97
97
amd64-alpine-gcc-9-11.2.0-cache :
98
+ arm64v8-ubuntu-18.04-clang-8-clang-8-cache :
99
+ arm64v8-ubuntu-18.04-clang-9-clang-9-cache :
100
+ arm64v8-ubuntu-20.04-clang-10-clang-10-cache :
101
+ arm64v8-ubuntu-22.04-clang-11-clang-11-cache :
102
+ arm64v8-ubuntu-18.04-gcc-8-gcc-8-cache :
103
+ arm64v8-ubuntu-20.04-gcc-9-gcc-9-cache :
104
+ arm64v8-ubuntu-20.04-gcc-10-gcc-10-cache :
105
+ arm64v8-ubuntu-22.04-gcc-12-gcc-12-cache :
106
+ arm64v8-ubuntu-18.04-icpx-icpx-cache :
107
+ arm64v8-ubuntu-18.04-icpc-icpc-cache :
108
+ arm64v8-ubuntu-20.04-gcc-9-11.0.3-cache :
109
+ arm64v8-ubuntu-20.04-gcc-9-11.2.0-cache :
110
+ arm64v8-alpine-clang-8-clang-8-cache :
111
+ arm64v8-alpine-clang-9-clang-9-cache :
112
+ arm64v8-alpine-clang-10-clang-10-cache :
113
+ arm64v8-alpine-clang-11-clang-11-cache :
114
+ arm64v8-alpine-clang-13-clang-13-cache :
115
+ arm64v8-alpine-gcc-8-gcc-8-cache :
116
+ arm64v8-alpine-gcc-9-gcc-9-cache :
117
+ arm64v8-alpine-gcc-10-gcc-10-cache :
118
+ arm64v8-alpine-gcc-12-gcc-12-cache :
119
+ arm64v8-alpine-icpx-icpx-cache :
120
+ arm64v8-alpine-icpc-icpc-cache :
121
+ arm64v8-alpine-gcc-9-11.0.3-cache :
122
+ arm64v8-alpine-gcc-9-11.2.0-cache :
98
123
99
124
# Define basic rules for ccache used across multiple services. The beauty of
100
125
# docker compose with cached volumes is that similarly configured builds will
@@ -167,8 +192,7 @@ services:
167
192
ulimits : &ulimits
168
193
core : ${ULIMIT_CORE}
169
194
environment :
170
- << : *ccache
171
- << : *vtopts
195
+ << : [*ccache, *vtopts]
172
196
volumes : &ubuntu-volumes
173
197
- .:/vt:delegated
174
198
- ${CACHE}${ARCH}-ubuntu-${UBUNTU}-${HOST_COMPILER}-${COMPILER}-cache:/build:delegated
@@ -195,8 +219,7 @@ services:
195
219
- ${REPO}:${ARCH}-ubuntu-${UBUNTU}-${HOST_COMPILER}-${COMPILER}-cpp
196
220
ulimits : *ulimits
197
221
environment :
198
- << : *ccache
199
- << : *vtopts
222
+ << : [*ccache, *vtopts]
200
223
volumes : *ubuntu-volumes
201
224
command : &vt-build-test-clean-cpp-command >
202
225
/bin/bash -c "
@@ -222,8 +245,7 @@ services:
222
245
- ${REPO}:${ARCH}-ubuntu-${UBUNTU}-${HOST_COMPILER}-${COMPILER}-cpp
223
246
ulimits : *ulimits
224
247
environment :
225
- << : *ccache
226
- << : *vtopts
248
+ << : [*ccache, *vtopts]
227
249
volumes : *ubuntu-volumes
228
250
command : &vt-build-test-clean-noinstall-cpp-command >
229
251
/bin/bash -c "
@@ -252,8 +274,7 @@ services:
252
274
- ${REPO}:${ARCH}-ubuntu-${UBUNTU}-${HOST_COMPILER}-${COMPILER}-cpp
253
275
ulimits : *ulimits
254
276
environment :
255
- << : *ccache
256
- << : *vtopts
277
+ << : [*ccache, *vtopts]
257
278
volumes : *ubuntu-volumes
258
279
259
280
# #############################################################################
@@ -274,8 +295,7 @@ services:
274
295
- ${REPO}:${ARCH}-ubuntu-${UBUNTU}-${HOST_COMPILER}-${COMPILER}-openmpi-cpp
275
296
ulimits : *ulimits
276
297
environment :
277
- << : *ccache
278
- << : *vtopts
298
+ << : [*ccache, *vtopts]
279
299
OMPI_MCA_btl : " ^vader"
280
300
volumes : *ubuntu-volumes
281
301
command : *vt-build-test-clean-cpp-command
@@ -294,8 +314,7 @@ services:
294
314
- ${REPO}:${ARCH}-ubuntu-${UBUNTU}-${HOST_COMPILER}-${COMPILER}-openmpi-cpp
295
315
ulimits : *ulimits
296
316
environment :
297
- << : *ccache
298
- << : *vtopts
317
+ << : [*ccache, *vtopts]
299
318
OMPI_MCA_btl : " ^vader"
300
319
volumes : *ubuntu-volumes
301
320
@@ -309,14 +328,12 @@ services:
309
328
target : build
310
329
dockerfile : ci/docker/ubuntu-${COMPILER_TYPE}-cpp.dockerfile
311
330
args :
312
- << : *default-args
313
- << : *vtopts
331
+ << : [*default-args, *vtopts]
314
332
cache_from :
315
333
- ${REPO}:${ARCH}-ubuntu-${UBUNTU}-${HOST_COMPILER}-${COMPILER}-cpp
316
334
ulimits : *ulimits
317
335
environment :
318
- << : *ccache
319
- << : *vtopts
336
+ << : [*ccache, *vtopts]
320
337
volumes : *ubuntu-volumes
321
338
command : &cpp-command >
322
339
/bin/bash -c "
@@ -405,8 +422,7 @@ services:
405
422
- ${REPO}:${ARCH}-alpine-${HOST_COMPILER}-${COMPILER}-cpp
406
423
ulimits : *ulimits
407
424
environment :
408
- << : *ccache
409
- << : *vtopts
425
+ << : [*ccache, *vtopts]
410
426
volumes : &alpine-volumes
411
427
- .:/vt:delegated
412
428
- ${CACHE}${ARCH}-alpine-${HOST_COMPILER}-${COMPILER}-cache:/build:delegated
@@ -426,7 +442,6 @@ services:
426
442
- ${REPO}:${ARCH}-alpine-${HOST_COMPILER}-${COMPILER}-cpp
427
443
ulimits : *ulimits
428
444
environment :
429
- << : *ccache
430
- << : *vtopts
445
+ << : [*ccache, *vtopts]
431
446
volumes : *alpine-volumes
432
447
command : *vt-build-test-clean-cpp-command
0 commit comments