forked from StanfordLegion/legion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
1355 lines (1282 loc) · 44.7 KB
/
.gitlab-ci.yml
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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
###
### Variables
###
# Global variables (will be set in every job):
variables:
WARN_AS_ERROR: "1"
# MAKEFLAGS: "-s"
REALM_BACKTRACE: "1"
REALM_SYNTHETIC_CORE_MAP: "" # Disable Realm thread pinning.
TIMELIMIT: "600" # each test should take less than 10 minutes
USE_DEFCHECK: "1"
# Local variables (included on a case-by-case basis in each job):
.gcc48: &gcc48
CC: "gcc-4.8"
CXX: "g++-4.8"
F90: "gfortran-4.8"
.gcc49: &gcc49
CC: "gcc-4.9"
CXX: "g++-4.9"
F90: "gfortran-4.9"
.gcc5: &gcc5
CC: "gcc-5"
CXX: "g++-5"
F90: "gfortran-5"
.gcc6: &gcc6
CC: "gcc-6"
CXX: "g++-6"
F90: "gfortran-6"
.gcc7: &gcc7
CC: "gcc-7"
CXX: "g++-7"
F90: "gfortran-7"
.gcc8: &gcc8
CC: "gcc-8"
CXX: "g++-8"
F90: "gfortran-8"
.gcc9: &gcc9
CC: "gcc-9"
CXX: "g++-9"
F90: "gfortran-9"
.gcc10: &gcc10
CC: "gcc-10"
CXX: "g++-10"
F90: "gfortran-10"
.gcc11: &gcc11
CC: "gcc-11"
CXX: "g++-11"
F90: "gfortran-11"
.clang38: &clang38
CC: "clang-3.8"
CXX: "clang++-3.8"
F90: "gfortran-5"
# clang3.8 seems to generate bad code for some newer x86 cpus
# we have some non-AVX systems in our CI runner pool, so back up to westmere
MARCH: "westmere"
.clang7: &clang7
CC: "clang-7"
CXX: "clang++-7"
F90: "gfortran-5"
.clang8: &clang8
CC: "clang-8"
CXX: "clang++-8"
F90: "gfortran-5"
.clang9: &clang9
CC: "clang-9"
CXX: "clang++-9"
F90: "gfortran-9"
.clang10: &clang10
CC: "clang-10"
CXX: "clang++-10"
F90: "gfortran-10"
.hpcsdk212: &hpcsdk212
CC: "/opt/nvidia/hpc_sdk/Linux_x86_64/21.2/compilers/bin/nvc"
CXX: "/opt/nvidia/hpc_sdk/Linux_x86_64/21.2/compilers/bin/nvc++"
F90: "/opt/nvidia/hpc_sdk/Linux_x86_64/21.2/compilers/bin/nvfortran"
# cmake gets confused and can't figure out library arch
EXTRA_CMAKE_ARGS: "-DCMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu"
.icc212: &icc212
CC: "/opt/intel/oneapi/compiler/2021.2.0/linux/bin/intel64/icc"
CXX: "/opt/intel/oneapi/compiler/2021.2.0/linux/bin/intel64/icpc"
F90: "/opt/intel/oneapi/compiler/2021.2.0/linux/bin/intel64/ifort"
.terra38: &terra38
LLVM_CONFIG: "llvm-config-3.8"
TERRA_DIR: "/usr/local/terra38"
.terra70: &terra70
LLVM_CONFIG: "llvm-config-7"
TERRA_DIR: "/usr/local/terra70"
.terra9: &terra9
LLVM_CONFIG: "llvm-config-9"
TERRA_DIR: "/usr/local/terra9"
.llvm7: &llvm7
LLVM_CONFIG: "llvm-config-7"
.llvm9: &llvm9
LLVM_CONFIG: "llvm-config-9"
.debug: &debug
DEBUG: "1"
.release: &release
DEBUG: "0"
.maxdim4: &maxdim4
MAX_DIM: "4" # test up to 4-D (needed for HTR external test)
.maxdim5: &maxdim5
MAX_DIM: "5" # test up to 5-D (useful because 1-4 have special cases)
.spy: &spy
USE_SPY: "1"
.checks: &checks
BOUNDS_CHECKS: "1"
PRIVILEGE_CHECKS: "1"
.cxx11_normal: &cxx11_normal
CXXFLAGS: "-std=c++11"
CXX_STANDARD: "11"
.cxx11_hardened: &cxx11_hardened
CXXFLAGS: "-std=c++11 -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS"
CXX_STANDARD: "11"
.cxx14_normal: &cxx14_normal
CXXFLAGS: "-std=c++14"
CXX_STANDARD: "14"
.cxx17_normal: &cxx17_normal
CXXFLAGS: "-std=c++17"
CXX_STANDARD: "17"
.cxx20_normal: &cxx20_normal
CXXFLAGS: "-std=c++20"
CXX_STANDARD: "20"
.cxx11_32bit_normal: &cxx11_32bit_normal
CXXFLAGS: "-std=c++11 -m32"
LDFLAGS: "-m32 -latomic"
MARCH: "i686"
CXX_STANDARD: "11"
.shared: &shared
SHARED_OBJECTS: "1"
.openmp: &openmp
USE_OPENMP: "1"
.python2: &python2
USE_PYTHON: "1"
.python3: &python3
USE_PYTHON: "1"
# FIXME: It would be nice to find a better way to do this,
# but the alternatives look scary
PYTHON_EXE: "python3"
PYTHON_LIB: "/usr/lib/x86_64-linux-gnu/libpython3.5m.so"
PYTHON_VERSION_MAJOR: "3"
TEST_PYTHON_EXE: "python3"
.hdf5: &hdf5
USE_HDF: "1"
HDF_HEADER: "hdf5/serial/hdf5.h"
HDF_LIBNAME: "hdf5_serial"
.fortran: &fortran
LEGION_USE_FORTRAN: "1"
.llvm: &llvm
USE_LLVM: "1"
.cuda: &cuda
USE_CUDA: "1"
.gasnet1_mpi: &gasnet1_mpi
REALM_NETWORKS: "gasnet1"
CONDUIT: "mpi"
.gasnetex_mpi: &gasnetex_mpi
REALM_NETWORKS: "gasnetex"
CONDUIT: "mpi"
.gasnetex_mpi_debug: &gasnetex_mpi_debug
REALM_NETWORKS: "gasnetex"
CONDUIT: "mpi"
GASNET_DEBUG: "1"
# GASNet headers are not guaranteed to be warning-free in debug mode
WARN_AS_ERROR: "0"
.gasnetex_mpi_nightly: &gasnetex_mpi_nightly
REALM_NETWORKS: "gasnetex"
CONDUIT: "mpi"
GASNET_VERSION: "GASNet-EX-snapshot"
# source URL is set by a GitLab CI variable as the GASNet-EX team prefers
# it not to be public at this time
#GASNETEX_SNAPSHOT_SOURCE_URL: ...
.gasnetex_ucx : &gasnetex_ucx
REALM_NETWORKS: "gasnetex"
CONDUIT: "ucx"
UCX_SOURCE: "https://github.com/openucx/ucx/releases/download/v1.8.0/ucx-1.8.0.tar.gz"
UCX_WARN_UNUSED_ENV_VARS: "n"
.gasnet1_ucx : &gasnet1_ucx
REALM_NETWORKS: "gasnet1"
CONDUIT: "ucx"
UCX_SOURCE: "https://github.com/openucx/ucx/releases/download/v1.8.0/ucx-1.8.0.tar.gz"
UCX_WARN_UNUSED_ENV_VARS: "n"
.gasnet_embed_local : &gasnet_embed_local
EMBED_GASNET: "1"
EMBED_GASNET_LOCAL: "1"
.gasnet_embed_remote : &gasnet_embed_remote
EMBED_GASNET: "1"
.mpi: &mpi
REALM_NETWORKS: "mpi"
# mpich-3.2
MPIR_CVAR_CH3_NOLOCAL: "1"
# mpich-3.3 & above
MPIR_CVAR_NOLOCAL: "1"
.cmake: &cmake
USE_CMAKE: "1"
.kokkos: &kokkos
USE_KOKKOS: "1"
KOKKOS_REPO: "https://github.com/kokkos/kokkos.git"
KOKKOS_BRANCH: "master"
KKERNELS_REPO: "https://github.com/kokkos/kokkos-kernels.git"
KKERNELS_BRANCH: "master"
.prof: &prof
USE_PROF: "1"
BASH_ENV: "/root/.cargo/env" # make sure Cargo environment gets loaded
.legion: &legion
TEST_REGENT: "0"
LEGION_WARNINGS_FATAL: "1"
.ctest: &ctest
TEST_CTEST: "1"
.regent: ®ent
TEST_LEGION_CXX: "0"
TEST_REALM: "0"
TEST_FUZZER: "0"
NO_PRETTY: "1"
.regent_pretty: ®ent_pretty
TEST_LEGION_CXX: "0"
TEST_REALM: "0"
TEST_FUZZER: "0"
.parallel: ¶llel
REGENT_JOBS: "2"
.incremental: &incremental
REGENT_INCREMENTAL: "1"
.external1: &external1
TEST_PY_ARGS: "--test=external1"
.external2: &external2
TEST_PY_ARGS: "--test=external2 --test=private"
.darwin_power9_scheduler: &darwin_power9_scheduler
CI_DEBUG_TRACE: "false"
SCHEDULER_PARAMETERS: "--nodes=1 --partition=power9"
FLEGION_USER: "gitlab-runner-flegion"
DARWIN_JOB_TYPE: "power9"
IS_DARWIN_JOB: "1"
.tsan: &tsan
SANITIZER_TYPE: "TSAN"
.ubsan: &ubsan
SANITIZER_TYPE: "UBSAN"
UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1"
.asan: &asan
SANITIZER_TYPE: "ASAN"
###
### Setup
###
# These commands will run before each job.
before_script:
- set -e
- uname -a
- |
if [[ "$(uname)" = "Linux" ]]; then
export THREADS=$(nproc --all)
elif [[ "$(uname)" = "Darwin" ]]; then
export THREADS=$(sysctl -n hw.ncpu)
else
echo "Unknown platform. Setting THREADS to 1."
export THREADS=1
fi
- |
if [[ "$UCX_SOURCE" != "" ]]; then
mkdir ucx
cd ucx
wget -O - $UCX_SOURCE | tar --strip-components=1 -zxf -
UCX_INSTALL_ROOT=$PWD/install
UCX_CONFIG_OPTS="--disable-numa"
contrib/configure-release --prefix=$UCX_INSTALL_ROOT $UCX_CONFIG_OPTS
make -j8 install
PATH=$PATH:$UCX_INSTALL_ROOT/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$UCX_INSTALL_ROOT/lib
# force inter-rank communication through tcp to make it "slow"
export UCX_TLS=tcp
cd ..
fi
if [[ "$REALM_NETWORKS" != "" ]]; then
# OpenMPI:
# export LAUNCHER="mpirun -n 2 -x TERRA_PATH -x INCLUDE_PATH -x LD_LIBRARY_PATH -x LG_RT_DIR -x USE_RDIR"
# MPICH:
export LAUNCHER="mpirun -n 2"
export MPICH_CXX=${CXX}
if [[ "$REALM_NETWORKS" == gasnet* ]]; then
if [[ "$EMBED_GASNET" -eq 1 ]]; then
if [[ "$EMBED_GASNET_LOCAL" -eq 1 ]]; then
# clone gasnet, but make it read only since we want an embedded build
git clone https://github.com/StanfordLegion/gasnet.git gasnet
chmod -R a-w gasnet
export EMBED_GASNET_SRC="$PWD/gasnet"
fi
else
git clone https://github.com/StanfordLegion/gasnet.git gasnet
make -C gasnet -j$THREADS
if [[ "$GASNET_DEBUG" -eq 1 ]]; then
export GASNET_ROOT="$PWD/gasnet/debug"
else
export GASNET_ROOT="$PWD/gasnet/release"
fi
fi
fi
fi
- |
if [[ "$DARWIN_JOB_TYPE" = power9 ]]; then
if [[ "$CXX" = "g++-6" ]]; then
module load openmpi/p9/3.1.4-gcc_6.5.0
elif [[ "$CXX" = "g++-7" ]]; then
module load openmpi/p9/3.1.4-gcc_7.4.0
elif [[ "$CXX" = "g++-8" ]]; then
module load openmpi/p9/3.1.4-gcc_8.3.0
elif [[ "$CXX" = "clang++-8" ]]; then
module load clang/8.0.0
export CXX=clang++
export CXXFLAGS="$CXXFLAGS --gcc-toolchain=/projects/opt/ppc64le/gcc/8.3.0"
export LDFLAGS="$LDFLAGS --gcc-toolchain=/projects/opt/ppc64le/gcc/8.3.0"
else
echo "Failed to detect Darwin compiler version"
false
fi
module load cmake/3.12.4
export OMPI_CXX=${CXX}
if [[ "$REALM_NETWORKS" != "" ]]; then
export LAUNCHER="mpirun -n 2 -x TERRA_PATH -x INCLUDE_PATH -x LD_LIBRARY_PATH -x LG_RT_DIR -x USE_RDIR"
fi
fi
- |
if [[ "$USE_KOKKOS" -eq 1 ]]; then
# Kokkos requires cmake 3.16 - grab it here so the default can remain
# an older version
wget -nv https://cmake.org/files/v3.16/cmake-3.16.0-Linux-x86_64.tar.gz
tar -zxf cmake-3.16.0-Linux-x86_64.tar.gz
PATH=`pwd`/cmake-3.16.0-Linux-x86_64/bin:$PATH
git clone -b $KOKKOS_BRANCH -- $KOKKOS_REPO kokkos
git -C kokkos log -n 1
mkdir kokkos/build
cd kokkos/build
KOKKOS_CMAKE_OPTS="-DCMAKE_INSTALL_PREFIX=../install -DKokkos_CXX_STANDARD=${CXX_STANDARD}"
# the following line is a workaround for Kokkos issue #2652
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DCMAKE_CXX_FLAGS=-DKOKKOS_IMPL_TURN_OFF_CUDA_HOST_INIT_CHECK"
if [[ "$USE_OPENMP" -eq 1 ]]; then
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DKokkos_ENABLE_OPENMP=ON"
else
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DKokkos_ENABLE_SERIAL=ON"
fi
if [[ "$SHARED_OBJECTS" -eq 1 ]]; then
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DBUILD_SHARED_LIBS=ON"
fi
if [[ "$USE_CUDA" -eq 1 ]]; then
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DKokkos_ENABLE_CUDA=ON -DKokkos_ENABLE_CUDA_LAMBDA=ON -DKokkos_ENABLE_CUDA_UVM=OFF"
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DKokkos_ARCH_${KOKKOS_CUDA_ARCH}=ON"
#KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DKokkos_CUDA_DIR=${CUDA}"
export CUDA_PATH="${CUDA}/lib64"
#export CUDA_PATH="${CUDA}/lib64:${CUDA}/lib64/stubs"
#export CUDA_TOOLKIT_ROOT_DIR=$CUDA
#export CUDA_PATH="${CUDA}/bin"
# kokkos expects (the right) nvcc to be in the path, both for toolkit
# detection as well as for nvcc_wrapper (if used)
PATH=$PATH:${CUDA}/bin
# libkokkoscore.so doesn't remember where libcudart.so is?
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${CUDA}/lib64"
if [[ "$CXX" == *clang* ]]; then
# clang speaks cuda, so can be used as Kokkos' "C++" compiler
export KOKKOS_CXX_COMPILER="$CXX"
else
# if not using clang, we need CXX to be Kokkos' nvcc_wrapper...
NVCC_WRAPPER=`pwd`/../bin/nvcc_wrapper
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DCMAKE_CXX_COMPILER=${NVCC_WRAPPER}"
export KOKKOS_CXX_COMPILER="${NVCC_WRAPPER}"
export NVCC_WRAPPER_DEFAULT_COMPILER="${CUDAHOSTCXX}"
fi
else
export KOKKOS_CXX_COMPILER="$CXX"
fi
echo cmake $KOKKOS_CMAKE_OPTS ..
cmake $KOKKOS_CMAKE_OPTS ..
make -j$THREADS install
cd ../..
# tell cmake where to find the Kokkos install
export Kokkos_DIR=`pwd`/kokkos/install
# now build kokkos-kernels - unless we've got cuda and clang (since
# kokkos-kernels fails to build for clang7 at least)
if [[ "$CXX" != *clang* || "$USE_CUDA" -ne 1 ]]; then
git clone -b $KKERNELS_BRANCH -- $KKERNELS_REPO kokkos-kernels
git -C kokkos-kernels log -n 1
mkdir kokkos-kernels/build
cd kokkos-kernels/build
KKERNELS_CMAKE_OPTS="-DCMAKE_INSTALL_PREFIX=../install"
KKERNELS_CMAKE_OPTS="$KKERNELS_CMAKE_OPTS -DCMAKE_CXX_COMPILER=${KOKKOS_CXX_COMPILER}"
if [[ "$SHARED_OBJECTS" -eq 1 ]]; then
KKERNELS_CMAKE_OPTS="$KKERNELS_CMAKE_OPTS -DBUILD_SHARED_LIBS=ON"
fi
cmake $KKERNELS_CMAKE_OPTS ..
make -j$THREADS install
cd ../..
# tell cmake where to find the Kokkos install
export KokkosKernels_DIR=`pwd`/kokkos-kernels/install
# enable WAR for: https://github.com/kokkos/kokkos-kernels/issues/757
export REALM_DEFAULT_ARGS="-cuda:nongpusync 0"
fi
fi
###
### Tags
###
.linux: &linux
tags:
- linux
.macos: &macos
tags:
- macos
.darwin_power9: &darwin_power9
tags:
- darwin-slurm
- power9
# For MSVC-in-wine tests:
.msvc_wine: &msvc_wine
tags:
- linux
- msvc_wine
# For compute-heavy tests:
.linux_compute: &linux_compute
tags:
- linux
- compute
# For CUDA tests, always use a specific machine:
.p100: &p100
tags:
- p100
.p100_base: &p100_base
IS_P100_JOB: "1"
USE_CUDA: "1"
GPU_ARCH: "60"
# cmake needs to know where to find libcuda.so
CUDA_LIB_PATH: "/usr/local/nvidia/lib64"
KOKKOS_CUDA_ARCH: "PASCAL60"
# docker puts both 32 and 64 bit libcuda.so's in LD_LIBRARY_PATH, but that confuses Kokkos's cmake
LD_LIBRARY_PATH: "/usr/local/nvidia/lib64"
.p100_cuda80: &p100_cuda80
<<: *p100_base
CUDA: "/usr/local/cuda-8.0"
CUDA_TOOLKIT_ROOT: "/usr/local/cuda-8.0"
CUDAHOSTCXX: "g++-5"
# cuda 8.0 does not come with thrust
USE_COMPLEX: "0"
# have to tell cudafe to expect c++11 stuff
NVCC_FLAGS: "-std=c++11"
.p100_cuda90: &p100_cuda90
<<: *p100_base
CUDA: "/usr/local/cuda-9.0"
CUDA_TOOLKIT_ROOT: "/usr/local/cuda-9.0"
CUDAHOSTCXX: "g++-6"
.p100_cuda92: &p100_cuda92
<<: *p100_base
CUDA: "/usr/local/cuda-9.2"
CUDA_TOOLKIT_ROOT: "/usr/local/cuda-9.2"
CUDAHOSTCXX: "g++-7"
# cuda 9.2 has bugs in thrust that break complex reduction ops
USE_COMPLEX: "0"
.p100_cuda102: &p100_cuda102
<<: *p100_base
CUDA: "/usr/local/cuda-10.2"
CUDA_TOOLKIT_ROOT: "/usr/local/cuda-10.2"
CUDAHOSTCXX: "g++-8"
.p100_cuda110: &p100_cuda110
<<: *p100_base
CUDA: "/usr/local/cuda-11.0"
CUDA_TOOLKIT_ROOT: "/usr/local/cuda-11.0"
CUDAHOSTCXX: "g++-9"
.p100_cuda112: &p100_cuda112
<<: *p100_base
CUDA: "/usr/local/cuda-11.2"
CUDA_TOOLKIT_ROOT: "/usr/local/cuda-11.2"
CUDAHOSTCXX: "g++-9"
###
### Docker Image
###
# Each job will run in a fresh container with this image.
.image: &image
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-16.04:210610
.image_clang: &image_clang
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-16.04-clang:210610
.image_2004: &image_2004
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-20.04:210923
.image_hpcsdk: &image_hpcsdk
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-hpcsdk
.image_icc: &image_icc
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-icc
.image_msvc169: &image_msvc169
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-msvc
###
### Tests
###
# rules for which jobs will run
.test_rules: &test_rules
rules:
# some jobs are tagged and can only run on certain hardware - a CI variable
# is used to enable these jobs in case that hardware is offline
- if: '$IS_P100_JOB == "1" && $RUN_P100_JOBS != "1"'
when: never
- if: '$IS_DARWIN_JOB == "1" && $RUN_DARWIN_JOBS != "1"'
when: never
# some scheduled runs are only looking at specific subsets of functionality
- if: '$ONLY_KOKKOS_JOBS == "1" && $USE_KOKKOS != "1"'
when: never
# do not automatically run pipelines for pull requests
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
# commits only run a short suite of jobs
- if: '$CI_PIPELINE_SOURCE == "push" && $IS_SHORT_JOB != "1"'
when: never
# if none of the above exclusions apply, run the job
- when: always
.short: &short
IS_SHORT_JOB: "1"
# Each job will run this set of tests.
.tests: &tests
<<: *test_rules
script:
- ./tools/add_github_host_key.sh
- grep 'model name' /proc/cpuinfo | uniq -c || true
- which $CXX
- $CXX --version
- |
if [[ "$USE_DEFCHECK" -eq 1 ]]; then
export DEFCHECK_CXX="${CXX}"
export CXX=`pwd`/tools/cxx_defcheck
# if we're using MPI, make sure mpicxx uses the right compiler too
export OMPI_CXX=`pwd`/tools/cxx_defcheck
export MPICH_CXX=`pwd`/tools/cxx_defcheck
fi
- free
- |
if [[ -z "$TEST_PYTHON_EXE" ]]; then
export TEST_PYTHON_EXE=`which python3 python | head -1`
fi
- $TEST_PYTHON_EXE ./test.py
retry:
max: 0
when:
- runner_system_failure
- unknown_failure
# Some additional tests are only run on certain configurations.
.external_tests: &external_tests
<<: *test_rules
script:
- ./tools/add_github_host_key.sh
- |
if [[ -n $GITLAB_DEPLOY_KEY ]]; then
eval $(ssh-agent -s)
ssh-add <(echo "$GITLAB_DEPLOY_KEY")
fi
- unset USE_DEFCHECK
- |
if [[ -z "$TEST_PYTHON_EXE" ]]; then
export TEST_PYTHON_EXE=`which python3 python | head -1`
fi
- $TEST_PYTHON_EXE ./test.py $TEST_PY_ARGS
retry:
max: 0
when:
- runner_system_failure
- unknown_failure
# testing MSVC builds is kinda hacky right now - not supported by test.py
.msvc_tests: &msvc_tests
<<: *test_rules
script:
- pwd
- ln -s `pwd` /home/wine/.wine/drive_c/repo
- cd /home/wine/.wine/drive_c
- su wine -c "wine64 cmd /c 'x64.bat && cmake -G Ninja -S repo -B build -DLegion_BUILD_REALM_ONLY=ON -DLegion_BUILD_REALM_TESTS=ON -DLegion_ENABLE_TESTING=ON'"
- "# wine doesn't seem to cope with concurrent file access, so use a serial build"
- su wine -c "wine64 cmd /c 'x64.bat && cmake --build build -- -j1'"
- su wine -c "wine64 cmd /c 'x64.bat && set PATH=C:\\Tools\\VS2019\\VC\\Redist\\MSVC\\14.28.29910\\debug_nonredist\\x64\\Microsoft.VC142.DebugCRT;C:\\Tools\\SDK\\10\\bin\\10.0.18362.0\\x64\\ucrt;%PATH% && cd build && ctest'"
- echo OK
# use a custom script for running Realm tests with sanitizers
.realm_sanitizer_tests: &realm_sanitizer_tests
<<: *test_rules
script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=${SANITIZER_TYPE} -DLegion_BUILD_REALM_ONLY=ON -DLegion_BUILD_REALM_TESTS=ON -DLegion_ENABLE_TESTING=ON ..
- make -j8
- ctest --output-on-failure .
- echo OK
# For performance tests, run these commands:
.perf_tests: &perf_tests
script:
- ./tools/add_github_host_key.sh
- |
if [[ -n $GITLAB_DEPLOY_KEY ]]; then
eval $(ssh-agent -s)
ssh-add <(echo "$GITLAB_DEPLOY_KEY")
fi
- git config --global user.name "Legion Testing Automation"
- git config --global user.email "[email protected]"
- export PERF_MIN_NODES=1
- export PERF_MAX_NODES=1
- $TEST_PYTHON_EXE ./test.py --test=perf
retry:
max: 0
when:
- runner_system_failure
- unknown_failure
###
### Jobs
###
# Each item below defines a job.
# There are two tiers of tests.
# 1. Full test suite (small number of compilers).
# 2. Minimal test suite (other compilers).
# Run the full test suite on GCC 4.9 and Clang 3.5.
# Linux with GCC 4.9
# * Basic configurations
# * Release
gcc49_cxx11_release_legion_fortran:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *legion, *fortran]
gcc49_cxx11_release_llvm_cmake_regent_pretty:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *llvm, *cmake, *regent_pretty, *incremental, *short]
# * Debug (Privilege and Bounds Checks)
gcc49_cxx11_debug_checks_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *checks, *legion]
# * Spy
gcc49_cxx11_debug_spy_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *spy, *legion]
gcc49_cxx11_debug_spy_python3_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *spy, *python3, *regent, *parallel]
# * Prof
gcc49_cxx11_release_prof_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *prof, *regent, *parallel]
# * C++11
gcc49_cxx11_release_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *legion]
# * higher dimension support (5-D)
gcc49_cxx11_release_maxdim5_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *maxdim5, *regent, *parallel]
clang38_cxx11_release_maxdim5_regent_pretty:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*clang38, *terra38, *release, *cxx11_normal, *maxdim5, *regent_pretty, *parallel]
# * Features: one test per feature
# * OpenMP
gcc49_cxx11_debug_openmp_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *openmp, *legion]
gcc49_cxx11_debug_openmp_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *openmp, *regent]
# * Python
gcc49_cxx11_debug_python2_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *python2, *legion, *short]
gcc49_cxx11_debug_python3_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *python3, *legion]
# * LLVM
gcc49_cxx11_debug_llvm_cmake_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *llvm, *cmake, *legion, *ctest]
gcc49_cxx11_debug_llvm_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *llvm, *regent]
# * HDF5
gcc49_cxx11_debug_hdf5_cmake_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *hdf5, *cmake, *legion, *ctest]
gcc49_cxx11_debug_hdf5_regent_pretty:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *hdf5, *regent_pretty]
# * GASNet-1 (legacy API)
gcc49_cxx11_release_gasnet1_mpi_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *gasnet1_mpi, *legion]
gcc48_cxx11_debug_gasnet1_mpi_cmake_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc48, *terra38, *debug, *cxx11_normal, *gasnet1_mpi, *cmake, *legion, *ctest]
gcc49_cxx11_debug_gasnet1_mpi_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *gasnet1_mpi, *regent, *incremental]
# * Embedded GASNet builds (local and remote, static and shared)
gcc49_cxx11_release_gasnet1_mpi_embedlocal_cmake_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *gasnet1_mpi, *gasnet_embed_local, *cmake, *ctest, *legion]
gcc49_cxx11_release_gasnet1_mpi_embedremote_cmake_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *gasnet1_mpi, *gasnet_embed_remote, *cmake, *ctest, *legion]
gcc49_cxx11_release_shared_gasnet1_mpi_embedlocal_cmake_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *shared, *cxx11_normal, *gasnet1_mpi, *gasnet_embed_local, *cmake, *ctest, *legion]
gcc49_cxx11_release_shared_gasnet1_mpi_embedremote_cmake_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *shared, *cxx11_normal, *gasnet1_mpi, *gasnet_embed_remote, *cmake, *ctest, *legion]
# * GASNet-EX (native API, 2020.11.0+)
gcc49_cxx11_release_gasnetex_mpi_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *gasnetex_mpi, *legion]
gcc49_cxx11_debug_gasnetex_mpi_cmake_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *gasnetex_mpi, *cmake, *legion, *ctest, *short]
gcc49_cxx11_debug_gasnetex_mpi_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *gasnetex_mpi, *regent, *incremental, *short]
gcc49_cxx11_debug_gasnetex_mpi_debug_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *gasnetex_mpi_debug, *regent, *incremental]
gcc49_cxx11_debug_gasnetex_mpi_nightly_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *gasnetex_mpi_nightly, *regent, *incremental]
# * GASNet (UCX conduit)
gcc48_cxx11_release_gasnet1_ucx_legion:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc48, *terra38, *release, *cxx11_normal, *gasnet1_ucx, *legion]
gcc49_cxx11_release_gasnet1_ucx_cmake_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *gasnet1_ucx, *cmake, *legion, *ctest]
gcc49_cxx11_release_gasnet1_ucx_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *gasnet1_ucx, *regent, *incremental]
gcc48_cxx11_release_gasnetex_ucx_legion:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc48, *terra38, *release, *cxx11_normal, *gasnetex_ucx, *legion]
gcc49_cxx11_debug_gasnetex_ucx_cmake_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *gasnetex_ucx, *cmake, *legion, *ctest]
gcc49_cxx11_release_gasnetex_ucx_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *gasnetex_ucx, *regent, *incremental, *short]
# * MPI
gcc49_cxx11_release_mpi_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_normal, *mpi, *legion]
gcc49_cxx11_debug_mpi_cmake_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *mpi, *cmake, *legion, *ctest, *short]
gcc49_cxx11_debug_mpi_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *mpi, *regent, *incremental]
# * Integration: Python + Regent
gcc49_cxx11_debug_python2_regent:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *python2, *regent]
gcc49_cxx11_debug_python3_regent:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *python3, *regent]
# * Integration: LLVM + GASNet
gcc49_cxx11_debug_llvm_gasnetex_mpi_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *llvm, *gasnetex_mpi, *legion]
gcc49_cxx11_debug_llvm_gasnetex_mpi_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *llvm, *gasnetex_mpi, *regent, *incremental]
# * Integration: LLVM + MPI
gcc48_cxx11_debug_llvm_mpi_legion:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc48, *terra38, *debug, *cxx11_normal, *llvm, *mpi, *legion]
gcc49_cxx11_debug_llvm_mpi_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *llvm, *mpi, *regent, *incremental]
# * Integration: HDF5 + GASNet
gcc48_cxx11_debug_hdf5_gasnetex_mpi_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc48, *terra38, *debug, *cxx11_normal, *hdf5, *gasnetex_mpi, *legion]
gcc49_cxx11_debug_hdf5_gasnetex_mpi_regent:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *hdf5, *gasnetex_mpi, *regent]
# * Integration: HDF5 + MPI
gcc49_cxx11_debug_hdf5_mpi_legion:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *hdf5, *mpi, *legion]
gcc49_cxx11_debug_hdf5_mpi_regent:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *hdf5, *mpi, *regent]
# Multi-node Legion Spy
gcc49_cxx11_debug_spy_gasnet1_mpi_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *cxx11_normal, *spy, *gasnet1_mpi, *regent, *short]
gcc49_cxx11_debug_spy_mpi_regent:
<<: [*linux_compute, *image, *tests]
variables:
<<: [*gcc49, *terra38, *cxx11_normal, *spy, *mpi, *regent]
# * Different architectures
gcc49_cxx11_32bit_debug_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_32bit_normal, *legion]
gcc49_cxx11_32bit_release_legion:
<<: [*linux, *image, *tests]
variables:
<<: [*gcc49, *terra38, *release, *cxx11_32bit_normal, *legion]
# * External tests
gcc49_cxx11_debug_external1:
<<: [*linux_compute, *image, *external_tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *openmp, *hdf5, *external1, *short]
gcc49_cxx11_debug_maxdim4_external2:
<<: [*linux_compute, *image, *external_tests]
variables:
<<: [*gcc49, *terra38, *debug, *cxx11_normal, *maxdim4, *openmp, *hdf5, *external2, *short]
# Linux with Clang 3.8
# * Basic configurations
# * Release
clang38_cxx11_release_legion_fortran:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *release, *cxx11_normal, *legion, *fortran]
clang38_cxx11_release_llvm_cmake_regent:
<<: [*linux_compute, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *release, *cxx11_normal, *llvm, *cmake, *regent, *incremental]
# * Debug (Privilege and Bounds Checks)
clang38_cxx11_debug_checks_legion:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *checks, *legion]
# * Spy
clang38_cxx11_debug_spy_legion:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *spy, *legion]
clang38_cxx11_debug_spy_python3_regent:
<<: [*linux_compute, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *spy, *python3, *regent, *parallel, *short]
# * Prof
clang38_cxx11_release_prof_regent:
<<: [*linux_compute, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *release, *cxx11_normal, *prof, *regent, *parallel, *short]
# * C++11
clang38_cxx11_release_legion:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *release, *cxx11_normal, *legion]
# * Features: one test per feature
# * OpenMP
clang38_cxx11_debug_openmp_legion:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *openmp, *legion]
clang38_cxx11_debug_openmp_regent:
<<: [*linux_compute, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *openmp, *regent]
# * Python
clang38_cxx11_debug_python2_legion:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *python2, *legion]
clang38_cxx11_debug_python3_legion:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *python3, *legion]
# * LLVM
clang38_cxx11_debug_llvm_cmake_legion:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *llvm, *cmake, *legion, *ctest]
clang38_cxx11_debug_llvm_regent:
<<: [*linux_compute, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *llvm, *regent]
# * HDF5
clang38_cxx11_debug_hdf5_cmake_legion:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *hdf5, *cmake, *legion, *ctest]
clang38_cxx11_debug_hdf5_regent:
<<: [*linux_compute, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *hdf5, *regent]
# * GASNet
clang38_cxx11_debug_gasnetex_mpi_cmake_legion:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *gasnetex_mpi, *cmake, *legion, *ctest]
clang38_cxx11_debug_gasnetex_mpi_regent:
<<: [*linux_compute, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *gasnetex_mpi, *regent, *incremental]
# * MPI
clang38_cxx11_debug_mpi_cmake_legion:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *mpi, *cmake, *legion, *ctest]
clang38_cxx11_debug_mpi_regent:
<<: [*linux_compute, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *mpi, *regent, *incremental]
# * Integration: Python + Regent
clang38_cxx11_debug_python2_regent:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *python2, *regent]
clang38_cxx11_debug_python3_regent:
<<: [*linux, *image_clang, *tests]
variables:
<<: [*clang38, *terra38, *debug, *cxx11_normal, *python3, *regent]
# * Integration: LLVM + GASNet
clang38_cxx11_debug_llvm_gasnetex_mpi_legion:
<<: [*linux_compute, *image_clang, *tests]