Skip to content

Commit 296ae52

Browse files
authored
[CI] Add option to install driver with dev igc (#13393)
Ref: #11552 Tested here: https://github.com/intel/llvm/actions/runs/8673951174/job/23785766750
1 parent 53c05d3 commit 296ae52

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ on:
6868
install_drivers:
6969
type: string
7070
required: False
71+
use_dev_igc:
72+
type: string
73+
required: False
7174
env:
7275
type: string
7376
default: '{}'
@@ -132,6 +135,12 @@ on:
132135
- false
133136
- true
134137

138+
use_dev_igc:
139+
type: choice
140+
options:
141+
- false
142+
- true
143+
135144
permissions:
136145
contents: read
137146

@@ -182,7 +191,10 @@ jobs:
182191
env:
183192
GITHUB_TOKEN: ${{ github.token }}
184193
run: |
185-
sudo -E bash devops/scripts/install_drivers.sh llvm/devops/dependencies.json --all
194+
if [ "${{ inputs.use_dev_igc }}" = "true" ]; then
195+
sudo apt-get install -yqq libllvm14;
196+
fi
197+
sudo -E bash devops/scripts/install_drivers.sh llvm/devops/dependencies.json --all ${{ inputs.use_dev_igc == 'true' && '--use-dev-igc' || '' }}
186198
- name: Source OneAPI TBB vars.sh
187199
shell: bash
188200
run: |

devops/dependencies.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"root": "{DEPS_ROOT}/opencl/runtime/linux/oclgpu"
1414
},
1515
"igc_dev": {
16-
"github_tag": "igc-dev-3af2d9c",
17-
"version": "3af2d9c",
18-
"updated_at": "2024-04-04T12:27:26Z",
19-
"url": "https://api.github.com/repos/intel/intel-graphics-compiler/actions/artifacts/1383563495/zip",
16+
"github_tag": "igc-dev-db4de5f",
17+
"version": "db4de5f",
18+
"updated_at": "2024-04-12T11:06:26Z",
19+
"url": "https://api.github.com/repos/intel/intel-graphics-compiler/actions/artifacts/1409219375/zip",
2020
"root": "{DEPS_ROOT}/opencl/runtime/linux/oclgpu"
2121
},
2222
"cm": {

0 commit comments

Comments
 (0)