Skip to content

Commit c9c68b0

Browse files
committed
Install level zero v1.25.1
1 parent 9144b54 commit c9c68b0

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

devops/actions/run-tests/benchmark/action.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,32 @@ runs:
136136
cmake --build build -j "$(nproc)"
137137
cmake --install build
138138
139+
cd -
140+
# Remove level zero from image and install latest version
141+
# This is to have the latest level zero required by Compute Benchmarks
142+
# Remove this w/a once the sycl nightly images are updated to have level zero v1.25.1
143+
- name: Remove level zero from image
144+
shell: bash
145+
run: |
146+
# Remove level zero from image
147+
sudo apt-get remove -y libze-dev libze1
148+
- name: Install level zero v1.25.1
149+
shell: bash
150+
run: |
151+
# Install level zero v1.25.1
152+
# Checkout Level Zero at build ref:
153+
wget https://github.com/oneapi-src/level-zero/archive/refs/tags/v1.25.1.tar.gz -O level-zero-v1.25.1.tar.gz
154+
tar -xvf level-zero-v1.25.1.tar.gz
155+
cd level-zero-1.25.1
156+
157+
# Configure Level Zero
158+
cmake -DCMAKE_BUILD_TYPE=Release \
159+
-Bbuild
160+
161+
# Build and install Level Zero
162+
cmake --build build -j "$(nproc)"
163+
sudo cmake --install build
164+
139165
cd -
140166
- name: Checkout results repo
141167
shell: bash

0 commit comments

Comments
 (0)