Skip to content

Commit 01a95bb

Browse files
committed
test alldeps
1 parent 477da77 commit 01a95bb

File tree

2 files changed

+46
-41
lines changed

2 files changed

+46
-41
lines changed

.github/workflows/ur-build-hw.yml

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ jobs:
115115
- name: Checkout LLVM
116116
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
117117

118+
- name: Get information about platform
119+
if: ${{ always() }}
120+
run: ./unified-runtime/.github/scripts/get_system_info.sh
121+
118122
# TODO: how other workflows (using dockers) deal with the path change?
119123
# also, note: I don't think it's needed anywhere now - I guess we can only use the relative paths...?
120124
- name: Set working directory as environment variable
@@ -150,25 +154,26 @@ jobs:
150154
# or
151155
# ghcr.io/intel/llvm/ubuntu2404_build:latest
152156
# not sure on OpenCL and NativeCPU - to be checked.
153-
- name: Install Intel Level Zero GPU
154-
# if: ${{ inputs.adapter_name == 'L0' || inputs.adapter_name == 'L0_V2' }}
155-
run: |
156-
wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
157-
sudo gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg
158-
echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy unified" | \
159-
sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list
160-
sudo apt-get update
161-
sudo apt-get install -y libze-intel-gpu1 libze1 libze-dev intel-opencl-icd
162-
# libstdc++-12-dev
163-
164-
- name: Install OpenCL
165-
if: ${{ inputs.adapter_name == 'OPENCL' }}
166-
run: |
167-
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
168-
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
169-
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
170-
sudo apt-get update
171-
sudo apt-get install -y intel-oneapi-runtime-opencl intel-oneapi-base-toolkit
157+
158+
# - name: Install Intel Level Zero GPU
159+
# # if: ${{ inputs.adapter_name == 'L0' || inputs.adapter_name == 'L0_V2' }}
160+
# run: |
161+
# wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
162+
# sudo gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg
163+
# echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy unified" | \
164+
# sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list
165+
# sudo apt-get update
166+
# sudo apt-get install -y libze-intel-gpu1 libze1 libze-dev intel-opencl-icd
167+
# # libstdc++-12-dev
168+
169+
# - name: Install OpenCL
170+
# if: ${{ inputs.adapter_name == 'OPENCL' }}
171+
# run: |
172+
# wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
173+
# | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
174+
# 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
175+
# sudo apt-get update
176+
# sudo apt-get install -y intel-oneapi-runtime-opencl intel-oneapi-base-toolkit
172177

173178
- name: Configure Unified Runtime project
174179
# ">" is used to avoid adding "\" at the end of each line; this command is quite long

.github/workflows/ur-precommit.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -60,50 +60,50 @@ jobs:
6060
include:
6161
- name: L0
6262
runner: UR_L0
63-
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
63+
docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
6464
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
6565
- name: L0_V2
6666
runner: UR_L0
67-
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
67+
docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
6868
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
6969
- name: L0
7070
runner: UR_L0
71-
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
71+
docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
7272
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
7373
static: ON
7474
- name: L0
7575
runner: UR_L0
76-
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
76+
docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
7777
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
7878
other_adapter: NATIVE_CPU
7979
- name: HIP
8080
runner: UR_HIP
81-
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
81+
docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
8282
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --cap-add=SYS_ADMIN
8383
- name: CUDA
8484
runner: UR_CUDA
85-
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
85+
docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
8686
image_options: -u 1001 --privileged --cap-add SYS_ADMIN --gpus all
87-
- name: OPENCL
88-
runner: UR_OPENCL
89-
platform: "Intel(R) OpenCL"
90-
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
91-
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --privileged --cap-add SYS_ADMIN
92-
- name: OPENCL
93-
runner: UR_OPENCL
94-
platform: "OPENCL:Intel(R) OpenCL"
95-
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
96-
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --privileged --cap-add SYS_ADMIN
97-
other_adapter: NATIVE_CPU
98-
- name: NATIVE_CPU
99-
runner: UR_NATIVE_CPU
100-
docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
101-
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
87+
# - name: OPENCL
88+
# runner: UR_OPENCL
89+
# platform: "Intel(R) OpenCL"
90+
# docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
91+
# image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --privileged --cap-add SYS_ADMIN
92+
# - name: OPENCL
93+
# runner: UR_OPENCL
94+
# platform: "OPENCL:Intel(R) OpenCL"
95+
# docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
96+
# image_options: -u 1001 --device=/dev/dri --device=/dev/kfd --privileged --cap-add SYS_ADMIN
97+
# other_adapter: NATIVE_CPU
98+
# - name: NATIVE_CPU
99+
# runner: UR_NATIVE_CPU
100+
# docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
101+
# image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
102102

103103
# Extra native CPU jobs are here to force the loader to be used.
104104
# UR will not use the loader if there is only one target.
105105
# adapter: [
106-
# {name: L0, runner: UR_L0, docker_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"},
106+
# {name: L0, runner: UR_L0, docker_image: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"},
107107
# {name: L0_V2, runner: UR_L0},
108108
# {name: L0, runner: UR_L0, static: ON},
109109
# {name: OPENCL, runner: UR_OPENCL, platform: "Intel(R) OpenCL"},

0 commit comments

Comments
 (0)