Skip to content
Draft
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
16 changes: 14 additions & 2 deletions .github/workflows/ur-build-hw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
required: true
type: string
default: ""
install_igc_driver:
required: false
type: string
default: ""
workflow_dispatch:
inputs:
adapter_name:
Expand Down Expand Up @@ -57,7 +61,10 @@ on:
required: true
type: string
default: ""

install_igc_driver:
required: false
type: string
default: ""
permissions: read-all

env:
Expand Down Expand Up @@ -129,7 +136,12 @@ jobs:
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt-get update
sudo apt-get install -y intel-oneapi-runtime-opencl
sudo apt-get install -y intel-oneapi-runtime-opencl

- name: Install Intel GPU driver
if: ${{ inputs.install_igc_driver && (inputs.adapter_name == 'OPENCL' || contains(inputs.adapter_name,'L0')) }}
run: |
sudo -E bash devops/scripts/install_drivers.sh devops/dependencies.json --all

- name: Configure Unified Runtime project
# ">" is used to avoid adding "\" at the end of each line; this command is quite long
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ur-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
other_adapter_name: ${{ matrix.other_adapter || '' }}
docker_image: ${{ matrix.docker_image || 'ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps'}}
image_options: ${{ matrix.image_options || '' }}
install_igc_driver: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}

# TODO: Enable once the apt package at https://apt.llvm.org/noble/pool/main/l/llvm-toolchain-snapshot/ is updated
# offload_build:
Expand Down
2 changes: 1 addition & 1 deletion devops/dependencies.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"linux": {
"linux": {
"compute_runtime": {
"github_tag": "25.40.35563.4",
"version": "25.40.35563.4",
Expand Down
Loading