Skip to content

Commit 31afb43

Browse files
committed
Merge from 'sycl' to 'sycl-web' (2 commits)
CONFLICT (content): Merge conflict in libclc/cmake/modules/AddLibclc.cmake
2 parents 93c3a48 + c5e4215 commit 31afb43

File tree

4 files changed

+31
-2
lines changed

4 files changed

+31
-2
lines changed

.github/workflows/sycl-linux-build.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Reusable SYCL Linux build workflow
22

3+
defaults:
4+
run:
5+
shell: bash
6+
37
on:
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.

.github/workflows/sycl-nightly.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@ jobs:
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' }}

libclc/cmake/modules/AddLibclc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ function(add_libclc_builtin_set)
467467
--char-signedness=${signedness}
468468
--input-ir=${libclc_builtins_lib}
469469
${dummy_in}
470-
DEPENDS ${libclc_builtins_lib} ${libclc-remangler_target} ${dummy_in})
470+
DEPENDS prepare-${obj_suffix} ${libclc_builtins_lib} ${libclc-remangler_target} ${dummy_in})
471471
add_custom_target( "remangled-${long_width}-${signedness}_char.${obj_suffix_mangled}" ALL
472472
DEPENDS "${builtins_remangle_path}" "${dummy_in}")
473473
set_target_properties("remangled-${long_width}-${signedness}_char.${obj_suffix_mangled}"

sycl/unittests/misc/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
set(sycl_lib_dir $<TARGET_FILE_DIR:sycl>)
22
add_definitions(-DSYCL_LIB_DIR="${sycl_lib_dir}")
3+
# https://github.com/intel/llvm/issues/19626
4+
if(NOT LLVM_LIBCXX_USED)
35
add_sycl_unittest(MiscTests SHARED
46
CircularBuffer.cpp
57
OsUtils.cpp
68
PropertyUtils.cpp
79
)
10+
endif()
811
add_subdirectory(LinkGraph)

0 commit comments

Comments
 (0)