File tree 6 files changed +19
-18
lines changed
6 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ jobs:
300
300
testing_mode : build-only
301
301
target_devices : all
302
302
binaries_artifact : ${{ inputs.e2e_binaries_artifact }}
303
- cxx_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
303
+ sycl_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
304
304
extra_lit_opts : --param sycl_build_targets="spir;nvidia;amd"
305
305
306
306
- name : Remove E2E tests before spirv-backend run
@@ -315,5 +315,5 @@ jobs:
315
315
testing_mode : build-only
316
316
target_devices : all
317
317
binaries_artifact : ${{ inputs.e2e_binaries_artifact }}_spirv_backend
318
- cxx_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
318
+ sycl_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
319
319
extra_lit_opts : --param spirv-backend=True
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ jobs:
102
102
&& github.repository == 'intel/llvm'
103
103
uses : ./.github/workflows/sycl-windows-build.yml
104
104
with :
105
- compiler : icx
105
+ cxx : icx
106
106
build_configure_extra_args : -DCMAKE_C_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_CXX_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_EXE_LINKER_FLAGS=/manifest:no -DCMAKE_MODULE_LINKER_FLAGS=/manifest:no -DCMAKE_SHARED_LINKER_FLAGS=/manifest:no
107
107
build_cache_suffix : icx
108
108
@@ -119,7 +119,7 @@ jobs:
119
119
runner : ' ["Windows","gen12"]'
120
120
target_devices : " level_zero:gpu"
121
121
sycl_toolchain_archive : ${{ needs.build-win.outputs.artifact_archive_name }}
122
- compiler : icx
122
+ cxx : icx
123
123
124
124
macos_default :
125
125
name : macOS
Original file line number Diff line number Diff line change 28
28
e2e_binaries_artifact :
29
29
type : string
30
30
required : false
31
- compiler :
31
+ cxx :
32
32
type : string
33
33
required : false
34
34
default : " cl"
67
67
type : choice
68
68
options :
69
69
- 3
70
- compiler :
70
+ cxx :
71
71
type : choice
72
72
options :
73
73
- cl
@@ -104,7 +104,7 @@ jobs:
104
104
arch : amd64
105
105
- name : Setup oneAPI env
106
106
uses : ./devops/actions/setup_windows_oneapi_env
107
- if : ${{ always() && !cancelled() && inputs.compiler == 'icx' }}
107
+ if : ${{ always() && !cancelled() && inputs.cxx == 'icx' }}
108
108
- name : Set env
109
109
run : |
110
110
git config --system core.longpaths true
@@ -132,8 +132,8 @@ jobs:
132
132
IF NOT EXIST D:\github\_work\cache\${{inputs.build_cache_suffix}} MKDIR D:\github\_work\cache\${{inputs.build_cache_suffix}}
133
133
python.exe src/buildbot/configure.py -o build ^
134
134
--ci-defaults %ARGS% ^
135
- "-DCMAKE_C_COMPILER=${{inputs.compiler }}" ^
136
- "-DCMAKE_CXX_COMPILER=${{inputs.compiler }}" ^
135
+ "-DCMAKE_C_COMPILER=${{inputs.cxx }}" ^
136
+ "-DCMAKE_CXX_COMPILER=${{inputs.cxx }}" ^
137
137
"-DCMAKE_INSTALL_PREFIX=%GITHUB_WORKSPACE%\install" ^
138
138
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache ^
139
139
-DCMAKE_C_COMPILER_LAUNCHER=ccache ^
@@ -244,6 +244,7 @@ jobs:
244
244
target_devices : all
245
245
binaries_artifact : ${{ inputs.e2e_binaries_artifact }}
246
246
extra_lit_opts : --param sycl_build_targets="spir"
247
+ cxx : ${{ inputs.cxx }}
247
248
248
249
- name : Detect hung tests
249
250
if : always()
Original file line number Diff line number Diff line change 58
58
default : ' {}'
59
59
required : False
60
60
61
- compiler :
61
+ cxx :
62
62
type : string
63
63
required : false
64
64
default : " cl"
@@ -117,7 +117,7 @@ jobs:
117
117
arch : amd64
118
118
- name : Setup oneAPI env
119
119
uses : ./devops/actions/setup_windows_oneapi_env
120
- if : ${{ always() && !cancelled() && inputs.compiler == 'icx' }}
120
+ if : ${{ always() && !cancelled() && inputs.cxx == 'icx' }}
121
121
- name : Set env
122
122
run : |
123
123
git config --system core.longpaths true
@@ -164,7 +164,7 @@ jobs:
164
164
target_devices : ${{ inputs.target_devices }}
165
165
extra_lit_opts : ${{ inputs.extra_lit_opts }}
166
166
retention-days : ${{ inputs.artifact_retention_days }}
167
- compiler : ${{ inputs.compiler }}
167
+ cxx : ${{ inputs.cxx }}
168
168
169
169
- name : Run SYCL CTS Tests
170
170
if : inputs.tests_selector == 'cts'
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ inputs:
15
15
required : false
16
16
retention-days :
17
17
required : false
18
- cxx_compiler :
18
+ sycl_compiler :
19
19
required : false
20
20
21
21
57
57
if : inputs.testing_mode != 'run-only'
58
58
shell : bash
59
59
run : |
60
- 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 }}
60
+ 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 }}
61
61
- name : SYCL End-to-end tests
62
62
shell : bash {0}
63
63
env :
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ inputs:
15
15
required : false
16
16
retention-days :
17
17
required : false
18
- cxx_compiler :
18
+ sycl_compiler :
19
19
required : false
20
- compiler :
20
+ cxx :
21
21
required : false
22
22
default : " cl"
23
23
63
63
- name : Configure E2E tests
64
64
shell : bash
65
65
run : |
66
- cmake -GNinja -B build-e2e -S./llvm/sycl/test-e2e -DCMAKE_CXX_COMPILER="${{ inputs.cxx_compiler || '$(which clang++).exe' }}" -DLEVEL_ZERO_LIBS_DIR="D:\\github\\level-zero_win-sdk\\lib" -DLEVEL_ZERO_INCLUDE="D:\\github\\level-zero_win-sdk\\include" -DLLVM_LIT="..\\llvm\\llvm\\utils\\lit\\lit.py" ${{ steps.cmake_opts.outputs.opts }}
66
+ cmake -GNinja -B build-e2e -S./llvm/sycl/test-e2e -DCMAKE_CXX_COMPILER="${{ inputs.sycl_compiler || '$(which clang++).exe' }}" -DLEVEL_ZERO_LIBS_DIR="D:\\github\\level-zero_win-sdk\\lib" -DLEVEL_ZERO_INCLUDE="D:\\github\\level-zero_win-sdk\\include" -DLLVM_LIT="..\\llvm\\llvm\\utils\\lit\\lit.py" ${{ steps.cmake_opts.outputs.opts }}
67
67
68
68
- name : Keep track of files after configuring E2E step
69
69
if : ${{ always() && !cancelled() && inputs.binaries_artifact != '' && inputs.testing_mode != 'run-only'}}
76
76
LIT_OPTS : -v --no-progress-bar --show-unsupported --show-pass --show-xfail --max-time ${{ inputs.e2e_testing_mode == 'run-only' && 1200 || 3600 }} --time-tests --param print_features=True --param test-mode=${{ inputs.testing_mode }} --param sycl_devices=${{ inputs.target_devices }} ${{ inputs.extra_lit_opts }}
77
77
run : |
78
78
# Run E2E tests.
79
- if [[ ${{ inputs.compiler }} == 'icx' ]]; then
79
+ if [[ ${{ inputs.cxx }} == 'icx' ]]; then
80
80
export LIT_FILTER_OUT="compile_on_win_with_mdd"
81
81
fi
82
82
cmake --build build-e2e --target check-sycl-e2e > e2e.log 2>&1
You can’t perform that action at this time.
0 commit comments