Skip to content

Commit ab1eb58

Browse files
committed
[CI] Add libc++ build to nightly
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 7b5838c commit ab1eb58

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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')

.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_oneapi.tar.zst
67+
5468
ubuntu2204_test:
5569
needs: [ubuntu2204_build]
5670
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
# https://github.com/intel/llvm/issues/19591
2+
if (NOT LLVM_USE_LIBCXX)
13
add_sycl_unittest(ThreadSafetyTests OBJECT
24
HostAccessorDeadLock.cpp
35
InteropKernelEnqueue.cpp
46
)
7+
endif()

0 commit comments

Comments
 (0)