Skip to content

Commit

Permalink
[CI] Manually update igc-dev (#16496)
Browse files Browse the repository at this point in the history
The IGC Dev CI is busted, so our auto-update scripts don't work.

Manually update the driver and fix the driver install script.

The two `online_compiler` tests are now also failing on pvc igc-dev.

---------

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
  • Loading branch information
sarnex authored Jan 14, 2025
1 parent 9bf4ee4 commit 0b28ba2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions devops/dependencies-igc-dev.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"linux": {
"igc_dev": {
"github_tag": "igc-dev-e0d826a",
"version": "e0d826a",
"updated_at": "2024-12-17T21:18:30Z",
"url": "https://api.github.com/repos/intel/intel-graphics-compiler/actions/artifacts/2327583926/zip",
"github_tag": "igc-dev-97b3d8f",
"version": "97b3d8f",
"updated_at": "2025-01-08T17:43:30Z",
"url": "https://api.github.com/repos/intel/intel-graphics-compiler/actions/artifacts/2403247641/zip",
"root": "{DEPS_ROOT}/opencl/runtime/linux/oclgpu"
}
}
Expand Down
10 changes: 5 additions & 5 deletions devops/scripts/install_drivers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ InstallIGFX () {
get_release oneapi-src/level-zero $L0_TAG \
| grep ".*$UBUNTU_VER.*deb" \
| wget -qi -
dpkg -i --force-overwrite *.deb && rm *.deb *.sum
dpkg -i --force-all *.deb && rm *.deb *.sum
mkdir -p /usr/local/lib/igc/
echo "$IGC_TAG" > /usr/local/lib/igc/IGCTAG.txt
if [ "$IS_IGC_DEV" == "Yes" ]; then
Expand All @@ -149,21 +149,21 @@ InstallIGFX () {
# Backup and install it from release igc as a temporarily workaround
# while we working to resolve the issue.
echo "Backup libopencl-clang"
cp -d /usr/local/lib/libopencl-clang.so.14* .
cp -d /usr/local/lib/libopencl-clang2.so.14* .
echo "Download IGC dev git hash $IGC_DEV_VER"
get_pre_release_igfx $IGC_DEV_URL $IGC_DEV_VER
echo "Install IGC dev git hash $IGC_DEV_VER"
# New dev IGC packaged iga64 conflicting with iga64 from intel-igc-media
# force overwrite to workaround it first.
dpkg -i --force-overwrite *.deb
dpkg -i --force-all *.deb
echo "Install libopencl-clang"
# Workaround only, will download deb and install with dpkg once fixed.
cp -d libopencl-clang.so.14* /usr/local/lib/
cp -d libopencl-clang2.so.14* /usr/local/lib/
rm /usr/local/lib/libigc.so /usr/local/lib/libigc.so.1* && \
ln -s /usr/local/lib/libigc.so.2 /usr/local/lib/libigc.so && \
ln -s /usr/local/lib/libigc.so.2 /usr/local/lib/libigc.so.1
echo "Clean up"
rm *.deb libopencl-clang.so.14*
rm *.deb libopencl-clang2.so.14*
echo "$IGC_DEV_TAG" > /usr/local/lib/igc/IGCTAG.txt
fi
}
Expand Down
2 changes: 1 addition & 1 deletion sycl/test-e2e/OnlineCompiler/online_compiler_L0.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// REQUIRES: level_zero, level_zero_dev_kit, cm-compiler
// XFAIL: gpu && !(arch-intel_gpu_pvc && igc-dev)
// XFAIL: gpu
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16406
// RUN: %{build} -Wno-error=deprecated-declarations -DRUN_KERNELS %level_zero_options -o %t.out
// RUN: %{run} %t.out
Expand Down
2 changes: 1 addition & 1 deletion sycl/test-e2e/OnlineCompiler/online_compiler_OpenCL.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// REQUIRES: opencl, opencl_icd, cm-compiler
// XFAIL: (gpu && !(arch-intel_gpu_pvc && igc-dev)) || cpu || accelerator
// XFAIL: gpu || cpu || accelerator
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16406
// RUN: %{build} -Wno-error=deprecated-declarations -DRUN_KERNELS %opencl_lib -o %t.out
// RUN: %{run} %t.out
Expand Down

0 comments on commit 0b28ba2

Please sign in to comment.