Skip to content

Commit 4679dc0

Browse files
[CI] Run Nightly E2E CI in pre-C++11 ABI mode (#16235)
We expect that our runtime library should work with user code compiled either way, but we don't be running double amount of testing in pre-commit/post-commit CI to verify that. Nightly looks like a reasonable choice to test this.
1 parent b0000e0 commit 4679dc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/sycl-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
image_options: ${{ matrix.image_options }}
111111
target_devices: ${{ matrix.target_devices }}
112112
tests_selector: ${{ matrix.tests_selector }}
113-
extra_lit_opts: ${{ matrix.extra_lit_opts }}
113+
extra_lit_opts: "--param 'cxx_flags=-D_GLIBCXX_USE_CXX11_ABI=0' ${{ matrix.extra_lit_opts }}"
114114
reset_intel_gpu: ${{ matrix.reset_intel_gpu }}
115115
ref: ${{ github.sha }}
116116
merge_ref: ''

sycl/test-e2e/lit.site.cfg.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ config.hip_platform = "@HIP_PLATFORM@"
3434
config.amd_arch = lit_config.params.get("amd_arch", "@AMD_ARCH@")
3535
config.sycl_threads_lib = '@SYCL_THREADS_LIB@'
3636
config.extra_environment = lit_config.params.get("extra_environment", "@LIT_EXTRA_ENVIRONMENT@")
37-
config.cxx_flags = "@SYCL_E2E_CLANG_CXX_FLAGS@"
37+
config.cxx_flags = lit_config.params.get("cxx_flags", "@SYCL_E2E_CLANG_CXX_FLAGS@")
3838
config.c_flags = "@CMAKE_C_FLAGS@"
3939
config.external_tests = "@SYCL_EXTERNAL_TESTS@"
4040
config.extra_include = "@CMAKE_CURRENT_SOURCE_DIR@/include"

0 commit comments

Comments
 (0)