File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,10 @@ jobs:
137
137
if : always()
138
138
run : |
139
139
cmake --build $GITHUB_WORKSPACE/build --target check-xptifw
140
+ - name : check-libclc
141
+ if : always()
142
+ run : |
143
+ cmake --build $GITHUB_WORKSPACE/build --target check-libclc
140
144
- name : Install
141
145
# TODO replace utility installation with a single CMake target
142
146
run : |
Original file line number Diff line number Diff line change @@ -43,13 +43,17 @@ def do_configure(args):
43
43
sycl_enable_xpti_tracing = 'ON'
44
44
xpti_enable_werror = 'ON'
45
45
46
+ build_libclc = False
47
+
46
48
if args .ci_defaults :
47
49
print ("#############################################" )
48
50
print ("# Default CI configuration will be applied. #" )
49
51
print ("#############################################" )
50
52
51
53
# For clang-format and clang-tidy
52
54
llvm_enable_projects += ";clang-tools-extra"
55
+ # libclc is required for CI validation
56
+ build_libclc = True
53
57
54
58
# replace not append, so ARM ^ X86
55
59
if args .arm :
@@ -59,7 +63,7 @@ def do_configure(args):
59
63
sycl_build_pi_esimd_emulator = 'ON'
60
64
61
65
if args .cuda or args .hip :
62
- llvm_enable_projects += ';libclc'
66
+ build_libclc = True
63
67
64
68
if args .cuda :
65
69
llvm_targets_to_build += ';NVPTX'
@@ -101,6 +105,9 @@ def do_configure(args):
101
105
if args .use_lld :
102
106
llvm_enable_lld = 'ON'
103
107
108
+ if build_libclc :
109
+ llvm_enable_projects += ';libclc'
110
+
104
111
install_dir = os .path .join (abs_obj_dir , "install" )
105
112
106
113
cmake_cmd = [
You can’t perform that action at this time.
0 commit comments