7
7
required : false
8
8
type : boolean
9
9
default : true
10
-
10
+ llvm_source :
11
+ required : false
12
+ description : ' method of sourcing llvm (install or cache), currently advisory until all converted'
13
+ type : string
14
+ default : ' install'
11
15
# Allows you to run this workflow manually from the Actions tab
12
16
workflow_dispatch :
13
17
inputs :
14
18
is_pull_request :
15
19
required : false
16
20
type : bool
17
21
default : true
22
+ llvm_source :
23
+ required : false
24
+ type : string
25
+ description : ' method of sourcing llvm (install or cache), currently advisory until all converted'
26
+ default : ' install'
18
27
19
28
permissions :
20
29
packages : read
38
47
with :
39
48
llvm_version : 18
40
49
llvm_build_type : RelAssert
50
+ llvm_source : ${{ inputs.llvm_source}}
41
51
42
52
- name : build
43
53
uses : ./.github/actions/do_build_pr/run_host_x86_64
72
82
with :
73
83
llvm_version : 18
74
84
llvm_build_type : RelAssert
85
+ llvm_source : ${{ inputs.llvm_source}}
75
86
76
87
- name : build riscv M1
77
88
uses : ./.github/actions/do_build_pr/run_riscv_m1
@@ -102,6 +113,7 @@ jobs:
102
113
with :
103
114
llvm_version : 19
104
115
llvm_build_type : RelAssert
116
+ llvm_source : ${{ inputs.llvm_source}}
105
117
106
118
- name : build initial config files
107
119
uses : ./.github/actions/do_build_ock
@@ -173,6 +185,7 @@ jobs:
173
185
llvm_version : 19
174
186
llvm_build_type : RelAssert
175
187
os : windows
188
+ llvm_source : cache
176
189
177
190
- name : build and test ock
178
191
uses : ./.github/actions/do_build_pr/run_windows_msvc_x86_64_llvm_latest_cl3_0_offline
@@ -195,11 +208,13 @@ jobs:
195
208
with :
196
209
llvm_version : ' 18'
197
210
llvm_build_type : RelAssert
211
+ llvm_source : ${{ inputs.llvm_source}}
198
212
- name : build ock
199
213
uses : ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vecz
200
214
201
215
# Based on: mr-ubuntu-clang-x86-llvm-previous-cl3-0-offline
202
216
run-ubuntu-clang-x86-llvm-latest-cl3-0-offline :
217
+ if : ${{ !inputs.is_pull_request }} # do not run as PR job due to cross where we always install
203
218
runs-on : ubuntu-22.04
204
219
container :
205
220
image : ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest
@@ -215,6 +230,7 @@ jobs:
215
230
llvm_version : ' 19'
216
231
llvm_build_type : RelAssert
217
232
cross_arch : x86
233
+ llvm_source : ${{ inputs.llvm_source}}
218
234
- name : build and run ock
219
235
uses : ./.github/actions/do_build_pr/run_ubuntu_clang_x86_llvm_latest_cl3_0_offline
220
236
@@ -234,6 +250,7 @@ jobs:
234
250
with :
235
251
llvm_version : ' 19'
236
252
llvm_build_type : RelAssert
253
+ llvm_source : ${{ inputs.llvm_source}}
237
254
- name : build and run ock
238
255
uses : ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0
239
256
@@ -253,6 +270,7 @@ jobs:
253
270
with :
254
271
llvm_version : ' 19'
255
272
llvm_build_type : Release
273
+ llvm_source : ${{ inputs.llvm_source}}
256
274
- name : build and run ock
257
275
uses : ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_llvm_latest_x86_64_images_cl3_0_release
258
276
@@ -272,7 +290,8 @@ jobs:
272
290
with :
273
291
llvm_version : ' 19'
274
292
llvm_build_type : RelAssert
275
- - name : build and run ock
293
+ llvm_source : ${{ inputs.llvm_source}}
294
+ - name : build and run ock
276
295
uses : ./.github/actions/do_build_pr/run_ubuntu_gcc_aarch64_llvm_latest_cl3_0_fp16
277
296
278
297
# Based on a combination of: mr-ubuntu-gcc-x86_64-clik
@@ -316,6 +335,7 @@ jobs:
316
335
with :
317
336
llvm_version : ' 19'
318
337
llvm_build_type : RelAssert
338
+ llvm_source : ${{ inputs.llvm_source}}
319
339
- name : build ock
320
340
uses : ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_64_refsi_g1_wi_cl3_0
321
341
0 commit comments