Skip to content

Commit f9eccc2

Browse files
authored
[CI] Fix cuda_dev_kit detection on runners (#16892)
The CUDA dev kit is already installed in the image we use but we don't pass these CMake vars so it isn't found. It should be fine to do this unconditionally, lit.py does a full compile with required files and checks the compiler return code, so even if it isn't actually installed it won't cause any problems. The compile is failing today because we don't pass the vars anyway. Manually tested this on the runners. Confirming working in [this](https://github.com/intel/llvm/actions/runs/13164735078/job/36742725212?pr=16892) run, as `Adapters/cuda_queue_priority.cpp` passed which requires the feature. Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 1638be9 commit f9eccc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devops/actions/run-tests/e2e/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ runs:
5555
if: inputs.testing_mode != 'run-only'
5656
shell: bash
5757
run: |
58-
cmake -GNinja -B./build-e2e -S./llvm/sycl/test-e2e -DCMAKE_CXX_COMPILER="${{ inputs.cxx_compiler || '$(which clang++)'}}" -DLLVM_LIT="$PWD/llvm/llvm/utils/lit/lit.py" ${{ steps.cmake_opts.outputs.opts }}
58+
cmake -GNinja -B./build-e2e -S./llvm/sycl/test-e2e -DCMAKE_CXX_COMPILER="${{ inputs.cxx_compiler || '$(which clang++)'}}" -DLLVM_LIT="$PWD/llvm/llvm/utils/lit/lit.py" -DCUDA_LIBS_DIR=/usr/local/cuda/lib64 -DCUDA_INCLUDE=/usr/local/cuda/include ${{ steps.cmake_opts.outputs.opts }}
5959
- name: SYCL End-to-end tests
6060
shell: bash {0}
6161
env:

0 commit comments

Comments
 (0)