File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : Reusable SYCL Linux build workflow
2
2
3
+ defaults :
4
+ run :
5
+ shell : bash
6
+
3
7
on :
4
8
workflow_call :
5
9
inputs :
@@ -185,12 +189,21 @@ jobs:
185
189
- name : check-llvm
186
190
if : always() && !cancelled() && contains(inputs.changes, 'llvm')
187
191
run : |
192
+ if [[ "${{ inputs.build_configure_extra_args }}" == *"--use-libcxx"* ]]; then
193
+ # https://github.com/llvm/llvm-project/issues/59429
194
+ export LIT_FILTER_OUT="ExecutionEngine/MCJIT"
195
+ fi
196
+
188
197
cmake --build $GITHUB_WORKSPACE/build --target check-llvm
189
198
- name : check-clang
190
199
if : always() && !cancelled() && contains(inputs.changes, 'clang')
191
200
run : |
192
201
# Can we move this to Dockerfile? Hopefully, noop on Windows.
193
202
export XDG_CACHE_HOME=$GITHUB_WORKSPACE/os_cache
203
+ if [[ "${{ inputs.build_configure_extra_args }}" == *"--use-libcxx"* ]]; then
204
+ # https://github.com/llvm/llvm-project/issues/59428
205
+ export LIT_FILTER_OUT="(E|e)xception"
206
+ fi
194
207
cmake --build $GITHUB_WORKSPACE/build --target check-clang
195
208
- name : check-sycl
196
209
if : always() && !cancelled() && contains(inputs.changes, 'sycl')
@@ -280,7 +293,6 @@ jobs:
280
293
281
294
- name : Source OneAPI TBB vars.sh
282
295
if : ${{ inputs.e2e_binaries_artifact && always() && !cancelled() && steps.build.conclusion == 'success' }}
283
- shell : bash
284
296
run : |
285
297
# https://github.com/actions/runner/issues/1964 prevents us from using
286
298
# the ENTRYPOINT in the image.
Original file line number Diff line number Diff line change 51
51
52
52
artifact_archive_name : sycl_linux_oneapi.tar.zst
53
53
54
+ ubuntu2404_libcxx_build :
55
+ if : github.repository == 'intel/llvm'
56
+ uses : ./.github/workflows/sycl-linux-build.yml
57
+ secrets : inherit
58
+ with :
59
+ build_cache_root : " /__w/"
60
+ build_cache_suffix : libcxx
61
+ build_artifact_suffix : libcxx
62
+ build_configure_extra_args : --use-libcxx -DLLVM_SPIRV_ENABLE_LIBSPIRV_DIS=OFF
63
+ cc : clang-18
64
+ cxx : clang++-18
65
+
66
+ artifact_archive_name : sycl_linux_libcxx.tar.zst
67
+
54
68
ubuntu2204_test :
55
69
needs : [ubuntu2204_build]
56
70
if : ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
Original file line number Diff line number Diff line change 1
1
set (sycl_lib_dir $< TARGET_FILE_DIR:sycl> )
2
2
add_definitions (-DSYCL_LIB_DIR= "${sycl_lib_dir} " )
3
+ # https://github.com/intel/llvm/issues/19626
4
+ if (NOT LLVM_LIBCXX_USED )
3
5
add_sycl_unittest (MiscTests SHARED
4
6
CircularBuffer.cpp
5
7
OsUtils.cpp
6
8
PropertyUtils.cpp
7
9
)
10
+ endif ()
8
11
add_subdirectory (LinkGraph )
You can’t perform that action at this time.
0 commit comments