File tree Expand file tree Collapse file tree 4 files changed +34
-1
lines changed
Expand file tree Collapse file tree 4 files changed +34
-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 :
@@ -185,12 +189,21 @@ jobs:
185189 - name : check-llvm
186190 if : always() && !cancelled() && contains(inputs.changes, 'llvm')
187191 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+
188197 cmake --build $GITHUB_WORKSPACE/build --target check-llvm
189198 - name : check-clang
190199 if : always() && !cancelled() && contains(inputs.changes, 'clang')
191200 run : |
192201 # Can we move this to Dockerfile? Hopefully, noop on Windows.
193202 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
194207 cmake --build $GITHUB_WORKSPACE/build --target check-clang
195208 - name : check-sycl
196209 if : always() && !cancelled() && contains(inputs.changes, 'sycl')
@@ -280,7 +293,6 @@ jobs:
280293
281294 - name : Source OneAPI TBB vars.sh
282295 if : ${{ inputs.e2e_binaries_artifact && always() && !cancelled() && steps.build.conclusion == 'success' }}
283- shell : bash
284296 run : |
285297 # https://github.com/actions/runner/issues/1964 prevents us from using
286298 # 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 @@ -467,7 +467,11 @@ function(add_libclc_builtin_set)
467467 --char-signedness=${signedness}
468468 --input -ir=${libclc_builtins_lib}
469469 ${dummy_in}
470+ <<<<<<< HEAD
470471 DEPENDS ${libclc_builtins_lib} ${libclc-remangler_target} ${dummy_in} )
472+ =======
473+ DEPENDS prepare-${obj_suffix} ${builtins_lib} ${libclc-remangler_target} ${dummy_in} )
474+ >>>>>>> c5e4215967b550536f92bcd72aded469ed92f2c7
471475 add_custom_target ( "remangled-${long_width} -${signedness} _char.${obj_suffix_mangled} " ALL
472476 DEPENDS "${builtins_remangle_path} " "${dummy_in} " )
473477 set_target_properties ("remangled-${long_width} -${signedness} _char.${obj_suffix_mangled} "
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