42
42
cxx : clang++
43
43
merge_ref : ' '
44
44
45
+ build-lin-static :
46
+ name : Linux (Self build + static libraries + no-assertions)
47
+ if : github.repository == 'intel/llvm'
48
+ uses : ./.github/workflows/sycl-linux-build.yml
49
+ with :
50
+ build_cache_root : " /__w/llvm"
51
+ build_cache_suffix : sprod_static
52
+ build_artifact_suffix : sprod_static
53
+ build_configure_extra_args : --no-assertions --hip --cuda --native_cpu --cmake-opt="-DSYCL_ENABLE_STACK_PRINTING=ON" --cmake-opt="-DSYCL_LIB_WITH_DEBUG_SYMBOL=ON"
54
+ # Docker image has last nightly pre-installed and added to the PATH
55
+ build_image : " ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build"
56
+ cc : clang
57
+ cxx : clang++
58
+ merge_ref : ' '
59
+
45
60
e2e-lin :
46
- needs : [build-lin]
61
+ needs : [build-lin, build-lin-static ]
47
62
if : ${{ always() && !cancelled() && needs.build-lin.outputs.build_conclusion == 'success' }}
48
63
strategy :
49
64
fail-fast : false
@@ -53,14 +68,21 @@ jobs:
53
68
runner : ' ["Linux", "gen12"]'
54
69
extra_lit_opts : --param gpu-intel-gen12=True
55
70
target_devices : level_zero:gpu;opencl:fpga
71
+ reset_gpu : true
56
72
- name : Intel Arc A-Series Graphics with Level Zero
57
73
runner : ' ["Linux", "arc"]'
58
74
extra_lit_opts : --param matrix-xmx8=True --param gpu-intel-dg2=True
75
+ reset_gpu : true
59
76
- name : AMD/HIP
60
77
runner : ' ["Linux", "amdgpu"]'
61
78
image : ghcr.io/intel/llvm/ubuntu2204_build:latest-0300ac924620a51f76c4929794637b82790f12ab
62
79
image_options : -u 1001 --device=/dev/dri --device=/dev/kfd
63
80
target_devices : ext_oneapi_hip:gpu
81
+ reset_gpu : false
82
+ # Use static build because of shared lld packaging issue
83
+ sycl_toolchain_artifact : sycl_linux_sprod_static
84
+ sycl_toolchain_archive : ${{ needs.build-lin-static.outputs.artifact_archive_name }}
85
+ sycl_toolchain_decompress_command : ${{ needs.build-lin-static.outputs.artifact_decompress_command }}
64
86
# Performance tests below. Specifics:
65
87
# - only run performance tests (use LIT_FILTER env)
66
88
# - ask llvm-lit to show all the output, even for PASS (-a)
@@ -72,29 +94,31 @@ jobs:
72
94
env : ' {"LIT_FILTER":"PerformanceTests/"}'
73
95
extra_lit_opts : -a -j 1 --param enable-perf-tests=True --param gpu-intel-gen12=True
74
96
target_devices : all
97
+ reset_gpu : true
75
98
- name : Perf tests on Intel Arc A-Series Graphics system
76
99
runner : ' ["Linux", "arc"]'
77
100
env : ' {"LIT_FILTER":"PerformanceTests/"}'
78
101
extra_lit_opts : -a -j 1 --param enable-perf-tests=True
79
102
target_devices : all
103
+ reset_gpu : true
80
104
uses : ./.github/workflows/sycl-linux-run-tests.yml
81
105
with :
82
106
name : ${{ matrix.name }}
83
107
runner : ${{ matrix. runner }}
84
- image : ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
85
- image_options : -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
108
+ image : ${{ matrix.image || ' ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest' }}
109
+ image_options : ${{ matrix.image_options || ' -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN' }}
86
110
target_devices : ${{ matrix.target_devices || 'level_zero:gpu' }}
87
- reset_gpu : true
111
+ reset_gpu : ${{ matrix.reset_gpu }}
88
112
89
113
extra_lit_opts : ${{ matrix.extra_lit_opts }}
90
114
env : ${{ matrix.env || '{}' }}
91
115
92
116
ref : ${{ github.sha }}
93
117
merge_ref : ' '
94
118
95
- sycl_toolchain_artifact : sycl_linux_sprod_shared
96
- sycl_toolchain_archive : ${{ needs.build-lin.outputs.artifact_archive_name }}
97
- sycl_toolchain_decompress_command : ${{ needs.build-lin.outputs.artifact_decompress_command }}
119
+ sycl_toolchain_artifact : ${{ matrix.sycl_toolchain_artifact || ' sycl_linux_sprod_shared' }}
120
+ sycl_toolchain_archive : ${{ matrix.sycl_toolchain_archive || needs.build-lin.outputs.artifact_archive_name }}
121
+ sycl_toolchain_decompress_command : ${{ matrix.sycl_toolchain_decompress_command || needs.build-lin.outputs.artifact_decompress_command }}
98
122
99
123
build-win :
100
124
if : |
0 commit comments