Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 53 additions & 53 deletions .github/workflows/sycl-linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,59 +210,59 @@ jobs:
# Emulate default value for manual dispatch as we've run out of available arguments.
run: cmake --build $GITHUB_WORKSPACE/build --target ${{ inputs.build_target || 'sycl-toolchain' }}
- run: $GITHUB_WORKSPACE/build/bin/clang++ --version
- name: check-llvm
if: ${{ !cancelled() && contains(inputs.changes, 'llvm') }}
env:
# Can't inline to support possible quotes inside:
BUILD_CONFIGURE_EXTRA_ARGS: ${{ inputs.build_configure_extra_args }}
run: |
if [[ "${BUILD_CONFIGURE_EXTRA_ARGS}" == *"--use-libcxx"* ]]; then
# https://github.com/llvm/llvm-project/issues/59429
export LIT_FILTER_OUT="ExecutionEngine/MCJIT"
fi

cmake --build $GITHUB_WORKSPACE/build --target check-llvm
- name: check-clang
if: ${{ !cancelled() && contains(inputs.changes, 'clang') }}
env:
# Can't inline to support possible quotes inside:
BUILD_CONFIGURE_EXTRA_ARGS: ${{ inputs.build_configure_extra_args }}
run: |
# Can we move this to Dockerfile? Hopefully, noop on Windows.
export XDG_CACHE_HOME=$GITHUB_WORKSPACE/os_cache
if [[ "${BUILD_CONFIGURE_EXTRA_ARGS}" == *"--use-libcxx"* ]]; then
# https://github.com/llvm/llvm-project/issues/59428
export LIT_FILTER_OUT="(E|e)xception"
fi
cmake --build $GITHUB_WORKSPACE/build --target check-clang
- name: check-sycl
if: ${{ !cancelled() && contains(inputs.changes, 'sycl') }}
run: |
# TODO consider moving this to Dockerfile.
export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
cmake --build $GITHUB_WORKSPACE/build --target check-sycl
- name: check-sycl-unittests
if: ${{ !cancelled() && contains(inputs.changes, 'sycl') }}
run: |
# TODO consider moving this to Dockerfile.
export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
cmake --build $GITHUB_WORKSPACE/build --target check-sycl-unittests
- name: check-llvm-spirv
if: ${{ !cancelled() && contains(inputs.changes, 'llvm_spirv') }}
run: |
cmake --build $GITHUB_WORKSPACE/build --target check-llvm-spirv
- name: check-xptifw
if: ${{ !cancelled() && contains(inputs.changes, 'xptifw') }}
run: |
cmake --build $GITHUB_WORKSPACE/build --target check-xptifw
- name: check-libclc
if: ${{ !cancelled() && contains(inputs.changes, 'libclc') }}
run: |
cmake --build $GITHUB_WORKSPACE/build --target check-libclc
- name: check-libdevice
if: ${{ !cancelled() && contains(inputs.changes, 'sycl') }}
run: |
cmake --build $GITHUB_WORKSPACE/build --target check-libdevice
#- name: check-llvm
# if: ${{ !cancelled() && contains(inputs.changes, 'llvm') }}
# env:
# # Can't inline to support possible quotes inside:
# BUILD_CONFIGURE_EXTRA_ARGS: ${{ inputs.build_configure_extra_args }}
# run: |
# if [[ "${BUILD_CONFIGURE_EXTRA_ARGS}" == *"--use-libcxx"* ]]; then
# # https://github.com/llvm/llvm-project/issues/59429
# export LIT_FILTER_OUT="ExecutionEngine/MCJIT"
# fi
#
# cmake --build $GITHUB_WORKSPACE/build --target check-llvm
#- name: check-clang
# if: ${{ !cancelled() && contains(inputs.changes, 'clang') }}
# env:
# # Can't inline to support possible quotes inside:
# BUILD_CONFIGURE_EXTRA_ARGS: ${{ inputs.build_configure_extra_args }}
# run: |
# # Can we move this to Dockerfile? Hopefully, noop on Windows.
# export XDG_CACHE_HOME=$GITHUB_WORKSPACE/os_cache
# if [[ "${BUILD_CONFIGURE_EXTRA_ARGS}" == *"--use-libcxx"* ]]; then
# # https://github.com/llvm/llvm-project/issues/59428
# export LIT_FILTER_OUT="(E|e)xception"
# fi
# cmake --build $GITHUB_WORKSPACE/build --target check-clang
#- name: check-sycl
# if: ${{ !cancelled() && contains(inputs.changes, 'sycl') }}
# run: |
# # TODO consider moving this to Dockerfile.
# export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
# cmake --build $GITHUB_WORKSPACE/build --target check-sycl
#- name: check-sycl-unittests
# if: ${{ !cancelled() && contains(inputs.changes, 'sycl') }}
# run: |
# # TODO consider moving this to Dockerfile.
# export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
# cmake --build $GITHUB_WORKSPACE/build --target check-sycl-unittests
#- name: check-llvm-spirv
# if: ${{ !cancelled() && contains(inputs.changes, 'llvm_spirv') }}
# run: |
# cmake --build $GITHUB_WORKSPACE/build --target check-llvm-spirv
#- name: check-xptifw
# if: ${{ !cancelled() && contains(inputs.changes, 'xptifw') }}
# run: |
# cmake --build $GITHUB_WORKSPACE/build --target check-xptifw
#- name: check-libclc
# if: ${{ !cancelled() && contains(inputs.changes, 'libclc') }}
# run: |
# cmake --build $GITHUB_WORKSPACE/build --target check-libclc
#- name: check-libdevice
# if: ${{ !cancelled() && contains(inputs.changes, 'sycl') }}
# run: |
# cmake --build $GITHUB_WORKSPACE/build --target check-libdevice
- name: Check E2E test requirements
if: ${{ !cancelled() && !contains(inputs.changes, 'sycl') }}
run: |
Expand Down
Loading
Loading