File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed
sycl/unittests/thread_safety Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -185,13 +185,23 @@ jobs:
185185 run : cmake --build $GITHUB_WORKSPACE/build --target ${{ inputs.build_target || 'sycl-toolchain' }}
186186 - name : check-llvm
187187 if : always() && !cancelled() && contains(inputs.changes, 'llvm')
188+ shell : bash
188189 run : |
190+ if [[ "${{ inputs.build_configure_extra_args }}" == *"--use-libcxx"* ]]; then
191+ # https://github.com/llvm/llvm-project/issues/59429
192+ export LIT_FILTER_OUT="ExecutionEngine/MCJIT"
193+ fi
194+
189195 cmake --build $GITHUB_WORKSPACE/build --target check-llvm
190196 - name : check-clang
191197 if : always() && !cancelled() && contains(inputs.changes, 'clang')
192198 run : |
193199 # Can we move this to Dockerfile? Hopefully, noop on Windows.
194200 export XDG_CACHE_HOME=$GITHUB_WORKSPACE/os_cache
201+ if [[ "${{ inputs.build_configure_extra_args }}" == *"--use-libcxx"* ]]; then
202+ # https://github.com/llvm/llvm-project/issues/59428
203+ export LIT_FILTER_OUT="(E|e)xception"
204+ fi
195205 cmake --build $GITHUB_WORKSPACE/build --target check-clang
196206 - name : check-sycl
197207 if : always() && !cancelled() && contains(inputs.changes, 'sycl')
Original file line number Diff line number Diff line change 5151
5252 artifact_archive_name : sycl_linux_oneapi.tar.zst
5353
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_oneapi.tar.zst
67+
5468 ubuntu2204_test :
5569 needs : [ubuntu2204_build]
5670 if : ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
Original file line number Diff line number Diff line change 1+ # https://github.com/intel/llvm/issues/19591
2+ if (NOT LLVM_USE_LIBCXX)
13add_sycl_unittest(ThreadSafetyTests OBJECT
24 HostAccessorDeadLock.cpp
35 InteropKernelEnqueue.cpp
46)
7+ endif ()
You can’t perform that action at this time.
0 commit comments