Skip to content

Commit c9c774f

Browse files
committed
[CI] Fix Linux OneAPI build LIT tests
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent fa6bc3d commit c9c774f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,19 +188,23 @@ jobs:
188188
run: cmake --build $GITHUB_WORKSPACE/build --target ${{ inputs.build_target || 'sycl-toolchain' }}
189189
- name: check-llvm
190190
if: always() && !cancelled() && contains(inputs.changes, 'llvm')
191+
env:
192+
BUILD_CONFIGURE_EXTRA_ARGS: ${{ inputs.build_configure_extra_args }}
191193
run: |
192-
if [[ "${{ inputs.build_configure_extra_args }}" == *"--use-libcxx"* ]]; then
194+
if [[ "${BUILD_CONFIGURE_EXTRA_ARGS}" == *"--use-libcxx"* ]]; then
193195
# https://github.com/llvm/llvm-project/issues/59429
194196
export LIT_FILTER_OUT="ExecutionEngine/MCJIT"
195197
fi
196198
197199
cmake --build $GITHUB_WORKSPACE/build --target check-llvm
198200
- name: check-clang
199201
if: always() && !cancelled() && contains(inputs.changes, 'clang')
202+
env:
203+
BUILD_CONFIGURE_EXTRA_ARGS: ${{ inputs.build_configure_extra_args }}
200204
run: |
201205
# Can we move this to Dockerfile? Hopefully, noop on Windows.
202206
export XDG_CACHE_HOME=$GITHUB_WORKSPACE/os_cache
203-
if [[ "${{ inputs.build_configure_extra_args }}" == *"--use-libcxx"* ]]; then
207+
if [[ "${BUILD_CONFIGURE_EXTRA_ARGS}" == *"--use-libcxx"* ]]; then
204208
# https://github.com/llvm/llvm-project/issues/59428
205209
export LIT_FILTER_OUT="(E|e)xception"
206210
fi

0 commit comments

Comments
 (0)