File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 2929 required : true
3030 type : string
3131 default : " "
32+ install_igc_driver :
33+ required : false
34+ type : string
35+ default : " "
3236 workflow_dispatch :
3337 inputs :
3438 adapter_name :
5761 required : true
5862 type : string
5963 default : " "
60-
64+ install_igc_driver :
65+ required : false
66+ type : string
67+ default : " "
6168permissions : read-all
6269
6370env :
@@ -131,6 +138,11 @@ jobs:
131138 sudo apt-get update
132139 sudo apt-get install -y intel-oneapi-runtime-opencl
133140
141+ - name : Install Intel GPU driver
142+ if : ${{ inputs.install_igc_driver && (inputs.adapter_name == 'OPENCL' || contains(inputs.adapter_name,'L0')) }}
143+ run : |
144+ sudo -E bash devops/scripts/install_drivers.sh devops/dependencies.json --all
145+
134146 - name : Configure Unified Runtime project
135147 # ">" is used to avoid adding "\" at the end of each line; this command is quite long
136148 run : >
Original file line number Diff line number Diff line change 9898 other_adapter_name : ${{ matrix.other_adapter || '' }}
9999 docker_image : ${{ matrix.docker_image || 'ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps'}}
100100 image_options : ${{ matrix.image_options || '' }}
101+ install_igc_driver : ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
101102
102103# TODO: Enable once the apt package at https://apt.llvm.org/noble/pool/main/l/llvm-toolchain-snapshot/ is updated
103104# offload_build:
You can’t perform that action at this time.
0 commit comments