Skip to content

Commit b0e7654

Browse files
committed
reload dockers
1 parent d191e26 commit b0e7654

File tree

3 files changed

+16
-21
lines changed

3 files changed

+16
-21
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,14 @@ jobs:
166166
# sudo apt-get install -y libze-intel-gpu1 libze1 libze-dev intel-opencl-icd
167167
# # libstdc++-12-dev
168168

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
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
177177

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

devops/containers/ubuntu2404_intel_drivers.Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG use_unstable_driver=true
99

1010
USER root
1111

12-
RUN apt update && apt install -yqq wget
12+
RUN apt update && apt install -yqq wget ca-certificates gpg
1313

1414
RUN apt-get update && apt --fix-broken install -y
1515

@@ -27,6 +27,13 @@ RUN --mount=type=secret,id=github_token \
2727
fi && \
2828
GITHUB_TOKEN=$(cat /run/secrets/github_token) /install_drivers.sh $install_driver_opt --all
2929

30+
RUN echo "Installing Intel OpenCL..." && \
31+
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
32+
| gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null && \
33+
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list && \
34+
apt-get update && \
35+
apt-get install -y intel-oneapi-runtime-opencl intel-oneapi-base-toolkit
36+
3037
COPY scripts/drivers_entrypoint.sh /drivers_entrypoint.sh
3138

3239
USER sycl

devops/scripts/install_drivers.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -168,16 +168,6 @@ InstallIGFX () {
168168
fi
169169
}
170170

171-
InstallOpenCL () {
172-
echo "Installing Intel OpenCL..."
173-
apt-get update && apt-get install -y ca-certificates gpg
174-
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
175-
| gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
176-
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list
177-
apt-get update
178-
apt-get install -y intel-oneapi-runtime-opencl intel-oneapi-base-toolkit
179-
}
180-
181171
InstallCPURT () {
182172
echo "Installing Intel OpenCL CPU Runtime..."
183173
echo "CPU Runtime version $CPU_TAG"
@@ -244,11 +234,9 @@ while [ "${1:-}" != "" ]; do
244234
InstallTBB
245235
InstallCPURT
246236
InstallFPGAEmu
247-
InstallOpenCL
248237
;;
249238
"--igfx")
250239
InstallIGFX
251-
InstallOpenCL
252240
;;
253241
"--cpu")
254242
InstallTBB

0 commit comments

Comments
 (0)