Skip to content

Commit 6fad74b

Browse files
committed
Install level zero v1.25.1
1 parent 546d150 commit 6fad74b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,33 @@ 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+
git clone https://github.com/intel/level-zero.git
154+
cd level-zero
155+
git checkout v1.25.1
156+
157+
# Configure Level Zero
158+
cmake -DCMAKE_BUILD_TYPE=Release \
159+
-Bbuild \
160+
-DCMAKE_INSTALL_PREFIX=install
161+
162+
# Build and install Level Zero
163+
cmake --build build -j "$(nproc)"
164+
cmake --install build
165+
139166
cd -
140167
- name: Checkout results repo
141168
shell: bash

0 commit comments

Comments
 (0)