Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion devops/containers/ubuntu2204_intel_drivers.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ USER root

RUN apt update && apt install -yqq wget

COPY scripts/get_release.py /
COPY scripts/install_drivers.sh /
COPY dependencies.json /

Expand Down
1 change: 0 additions & 1 deletion devops/containers/ubuntu2404_intel_drivers.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ USER root

RUN apt update && apt install -yqq wget

COPY scripts/get_release.py /
COPY scripts/install_drivers.sh /
COPY dependencies.json /

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ USER root

RUN apt update && apt install -yqq libllvm14 libllvm15 libz3-4

COPY scripts/get_release.py /
COPY scripts/install_drivers.sh /
COPY dependencies.json /
COPY dependencies-igc-dev.json /
Expand Down
23 changes: 0 additions & 23 deletions devops/scripts/get_release.py

This file was deleted.

38 changes: 4 additions & 34 deletions devops/scripts/install_drivers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,20 +114,16 @@ InstallIGFX () {
| grep ".*deb" \
| wget -qi -
get_release intel/compute-runtime $CR_TAG \
| grep -E ".*((deb)|(sum))" \
| grep -E ".*((\.deb)|(sum))" \
| wget -qi -
# Perform the checksum conditionally and then get the release
# Skip the ww45 checksum because the igc_dev driver was manually updated
# so the package versions don't exactly match.
if [ ! -f "ww45.sum" ]; then
sha256sum -c *.sum
fi
# We don't download .ddeb packages, so ignore missing ones.
sha256sum -c *.sum --ignore-missing
get_release intel/cm-compiler $CM_TAG \
| grep ".*deb" \
| grep -v "u18" \
| wget -qi -
get_release oneapi-src/level-zero $L0_TAG \
| grep ".*$UBUNTU_VER.*deb" \
| grep ".*$UBUNTU_VER.*deb$" \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to add the ddeb check here too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, actually compute runtime is the only dependency containing debug packages.

| wget -qi -
dpkg -i --force-all *.deb && rm *.deb *.sum
mkdir -p /usr/local/lib/igc/
Expand Down Expand Up @@ -177,33 +173,12 @@ InstallCPURT () {
fi
}

InstallFPGAEmu () {
echo "Installing Intel FPGA Fast Emulator..."
echo "FPGA Emulator version $FPGA_TAG"
mkdir -p $INSTALL_LOCATION
cd $INSTALL_LOCATION
if [ -d "$INSTALL_LOCATION/fpgaemu" ]; then
echo "$INSTALL_LOCATION/fpgaemu exists and will be removed!"
rm -Rf $INSTALL_LOCATION/fpgaemu;
fi
get_release intel/llvm $FPGA_TAG \
| grep -E ".*fpgaemu.*tar.gz" \
| wget -qi - && \
mkdir fpgaemu && tar -xf *.tar.gz -C fpgaemu && rm *.tar.gz
if [ -e /runtimes/fpgaemu/install.sh ]; then
bash -x /runtimes/fpgaemu/install.sh
else
echo /runtimes/fpgaemu/x64/libintelocl_emu.so > /etc/OpenCL/vendors/intel_fpgaemu.icd
fi
}

if [[ $# -eq 0 ]] ; then
echo "No options were specified. Please, specify one or more of the following:"
echo "--all - Install all Intel drivers"
echo "--igfx - Install Intel Graphics drivers"
echo "--use-dev-igc - Install development version of Intel Graphics drivers instead"
echo "--cpu - Install Intel CPU OpenCL runtime"
echo "--fpga-emu - Install Intel FPGA Fast emulator"
echo "Set INSTALL_LOCATION env variable to specify install location"
exit 0
fi
Expand All @@ -221,7 +196,6 @@ while [ "${1:-}" != "" ]; do
InstallIGFX
InstallTBB
InstallCPURT
InstallFPGAEmu
;;
"--igfx")
InstallIGFX
Expand All @@ -230,10 +204,6 @@ while [ "${1:-}" != "" ]; do
InstallTBB
InstallCPURT
;;
"--fpga-emu")
InstallTBB
InstallFPGAEmu
;;
esac
shift
done
Loading