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 11name : Reusable SYCL Linux build workflow
22
3+ defaults :
4+ run :
5+ shell : bash
6+
37on :
48 workflow_call :
59 inputs :
@@ -186,12 +190,21 @@ jobs:
186190 - name : check-llvm
187191 if : always() && !cancelled() && contains(inputs.changes, 'llvm')
188192 run : |
193+ if [[ "${{ inputs.build_configure_extra_args }}" == *"--use-libcxx"* ]]; then
194+ # https://github.com/llvm/llvm-project/issues/59429
195+ export LIT_FILTER_OUT="ExecutionEngine/MCJIT"
196+ fi
197+
189198 cmake --build $GITHUB_WORKSPACE/build --target check-llvm
190199 - name : check-clang
191200 if : always() && !cancelled() && contains(inputs.changes, 'clang')
192201 run : |
193202 # Can we move this to Dockerfile? Hopefully, noop on Windows.
194203 export XDG_CACHE_HOME=$GITHUB_WORKSPACE/os_cache
204+ if [[ "${{ inputs.build_configure_extra_args }}" == *"--use-libcxx"* ]]; then
205+ # https://github.com/llvm/llvm-project/issues/59428
206+ export LIT_FILTER_OUT="(E|e)xception"
207+ fi
195208 cmake --build $GITHUB_WORKSPACE/build --target check-clang
196209 - name : check-sycl
197210 if : always() && !cancelled() && contains(inputs.changes, 'sycl')
@@ -281,7 +294,6 @@ jobs:
281294
282295 - name : Source OneAPI TBB vars.sh
283296 if : ${{ inputs.e2e_binaries_artifact && always() && !cancelled() && steps.build.conclusion == 'success' }}
284- shell : bash
285297 run : |
286298 # https://github.com/actions/runner/issues/1964 prevents us from using
287299 # the ENTRYPOINT in the image.
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_libcxx.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 11set (sycl_lib_dir $<TARGET_FILE_DIR:sycl>)
22add_definitions (-DSYCL_LIB_DIR="${sycl_lib_dir} " )
3+ # https://github.com/intel/llvm/issues/19626
4+ if (NOT LLVM_LIBCXX_USED)
35add_sycl_unittest(MiscTests SHARED
46 CircularBuffer.cpp
57 OsUtils.cpp
68 PropertyUtils.cpp
79)
10+ endif ()
811add_subdirectory (LinkGraph)
You can’t perform that action at this time.
0 commit comments