File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
devops/actions/run-tests/e2e Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,7 @@ jobs:
345345 testing_mode : build-only
346346 target_devices : all
347347 binaries_artifact : ${{ inputs.e2e_binaries_artifact }}
348+ sycl_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
348349 sycl_toolchain : $GITHUB_WORKSPACE/toolchain/
349350 extra_lit_opts : --param sycl_build_targets="spir;nvidia;amd"
350351
@@ -360,6 +361,7 @@ jobs:
360361 testing_mode : build-only
361362 target_devices : all
362363 binaries_artifact : ${{ inputs.e2e_binaries_spirv_backend_artifact }}
364+ sycl_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
363365 sycl_toolchain : $GITHUB_WORKSPACE/toolchain/
364366 extra_lit_opts : --param spirv-backend=True
365367
@@ -375,5 +377,6 @@ jobs:
375377 testing_mode : build-only
376378 target_devices : all
377379 binaries_artifact : ${{ inputs.e2e_binaries_preview_artifact }}
380+ sycl_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
378381 sycl_toolchain : $GITHUB_WORKSPACE/toolchain/
379382 extra_lit_opts : --param test-preview-mode=True
Original file line number Diff line number Diff line change 9494 ref : ${{ inputs.ref || github.sha }}
9595 testing_mode : full
9696 target_devices : native_cpu:cpu
97+ sycl_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
9798 sycl_toolchain : $GITHUB_WORKSPACE/toolchain/
9899 extra_lit_opts : --param sycl_build_targets="native_cpu"
99100 extra_cmake_args : -DSYCL_TEST_E2E_TARGETS="native_cpu:cpu" -DSYCL_TEST_E2E_STANDALONE=ON
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ inputs:
1919 required : false
2020 retention-days :
2121 required : false
22+ sycl_compiler :
23+ required : false
2224 sycl_toolchain :
2325 required : false
2426
@@ -82,22 +84,19 @@ runs:
8284 # system installed ones.
8385 - name : Install SYCL toolchain
8486 if : |
85- inputs.sycl_toolchain != '' &&
86- inputs.testing_mode != 'run-only'
87+ ( inputs.sycl_toolchain != '' &&
88+ inputs.testing_mode != 'run-only')
8789 shell : bash
8890 env :
8991 SYCL_TOOLCHAIN : ${{ inputs.sycl_toolchain }}
9092 run : |
9193 echo "PATH=$SYCL_TOOLCHAIN/bin/:$PATH" >> $GITHUB_ENV
92- which clang++
93- which sycl-ls
94- which sycl-post-link
9594
9695 - name : Configure E2E tests
9796 if : inputs.testing_mode != 'run-only'
9897 shell : bash
9998 run : |
100- cmake -GNinja -B./build-e2e -S./llvm/sycl/test-e2e -DCMAKE_CXX_COMPILER="${{ '$(which clang++)' }}" -DLLVM_LIT="$PWD/llvm/llvm/utils/lit/lit.py" ${{ steps.cmake_opts.outputs.opts }}
99+ cmake -GNinja -B./build-e2e -S./llvm/sycl/test-e2e -DCMAKE_CXX_COMPILER="${{ inputs.sycl_compiler || '$(which clang++)'}}" -DLLVM_LIT="$PWD/llvm/llvm/utils/lit/lit.py" ${{ steps.cmake_opts.outputs.opts }}
101100 - name : SYCL End-to-end tests
102101 id : run_e2e
103102 continue-on-error : true
You can’t perform that action at this time.
0 commit comments