Skip to content

[CI] Add option to install driver with dev igc #13393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/sycl-linux-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ on:
install_drivers:
type: string
required: False
use_dev_igc:
type: string
required: False
env:
type: string
default: '{}'
Expand Down Expand Up @@ -132,6 +135,12 @@ on:
- false
- true

use_dev_igc:
type: choice
options:
- false
- true

permissions:
contents: read

Expand Down Expand Up @@ -182,7 +191,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
sudo -E bash devops/scripts/install_drivers.sh llvm/devops/dependencies.json --all
if [ "${{ inputs.use_dev_igc }}" = "true" ]; then
sudo apt-get install -yqq libllvm14;
fi
sudo -E bash devops/scripts/install_drivers.sh llvm/devops/dependencies.json --all ${{ inputs.use_dev_igc == 'true' && '--use-dev-igc' || '' }}
- name: Source OneAPI TBB vars.sh
shell: bash
run: |
Expand Down
8 changes: 4 additions & 4 deletions devops/dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"root": "{DEPS_ROOT}/opencl/runtime/linux/oclgpu"
},
"igc_dev": {
"github_tag": "igc-dev-3af2d9c",
"version": "3af2d9c",
"updated_at": "2024-04-04T12:27:26Z",
"url": "https://api.github.com/repos/intel/intel-graphics-compiler/actions/artifacts/1383563495/zip",
"github_tag": "igc-dev-db4de5f",
"version": "db4de5f",
"updated_at": "2024-04-12T11:06:26Z",
"url": "https://api.github.com/repos/intel/intel-graphics-compiler/actions/artifacts/1409219375/zip",
"root": "{DEPS_ROOT}/opencl/runtime/linux/oclgpu"
},
"cm": {
Expand Down