@@ -114,20 +114,16 @@ InstallIGFX () {
114114 | grep " .*deb" \
115115 | wget -qi -
116116 get_release intel/compute-runtime $CR_TAG \
117- | grep -E " .*((deb)|(sum))" \
117+ | grep -E " .*((\. deb)|(sum))" \
118118 | wget -qi -
119- # Perform the checksum conditionally and then get the release
120- # Skip the ww45 checksum because the igc_dev driver was manually updated
121- # so the package versions don't exactly match.
122- if [ ! -f " ww45.sum" ]; then
123- sha256sum -c * .sum
124- fi
119+ # We don't download .ddeb packages, so ignore missing ones.
120+ sha256sum -c * .sum --ignore-missing
125121 get_release intel/cm-compiler $CM_TAG \
126122 | grep " .*deb" \
127123 | grep -v " u18" \
128124 | wget -qi -
129125 get_release oneapi-src/level-zero $L0_TAG \
130- | grep " .*$UBUNTU_VER .*deb" \
126+ | grep " .*$UBUNTU_VER .*deb$ " \
131127 | wget -qi -
132128 dpkg -i --force-all * .deb && rm * .deb * .sum
133129 mkdir -p /usr/local/lib/igc/
@@ -177,33 +173,12 @@ InstallCPURT () {
177173 fi
178174}
179175
180- InstallFPGAEmu () {
181- echo " Installing Intel FPGA Fast Emulator..."
182- echo " FPGA Emulator version $FPGA_TAG "
183- mkdir -p $INSTALL_LOCATION
184- cd $INSTALL_LOCATION
185- if [ -d " $INSTALL_LOCATION /fpgaemu" ]; then
186- echo " $INSTALL_LOCATION /fpgaemu exists and will be removed!"
187- rm -Rf $INSTALL_LOCATION /fpgaemu;
188- fi
189- get_release intel/llvm $FPGA_TAG \
190- | grep -E " .*fpgaemu.*tar.gz" \
191- | wget -qi - && \
192- mkdir fpgaemu && tar -xf * .tar.gz -C fpgaemu && rm * .tar.gz
193- if [ -e /runtimes/fpgaemu/install.sh ]; then
194- bash -x /runtimes/fpgaemu/install.sh
195- else
196- echo /runtimes/fpgaemu/x64/libintelocl_emu.so > /etc/OpenCL/vendors/intel_fpgaemu.icd
197- fi
198- }
199-
200176if [[ $# -eq 0 ]] ; then
201177 echo " No options were specified. Please, specify one or more of the following:"
202178 echo " --all - Install all Intel drivers"
203179 echo " --igfx - Install Intel Graphics drivers"
204180 echo " --use-dev-igc - Install development version of Intel Graphics drivers instead"
205181 echo " --cpu - Install Intel CPU OpenCL runtime"
206- echo " --fpga-emu - Install Intel FPGA Fast emulator"
207182 echo " Set INSTALL_LOCATION env variable to specify install location"
208183 exit 0
209184fi
@@ -221,7 +196,6 @@ while [ "${1:-}" != "" ]; do
221196 InstallIGFX
222197 InstallTBB
223198 InstallCPURT
224- InstallFPGAEmu
225199 ;;
226200 " --igfx" )
227201 InstallIGFX
@@ -230,10 +204,6 @@ while [ "${1:-}" != "" ]; do
230204 InstallTBB
231205 InstallCPURT
232206 ;;
233- " --fpga-emu" )
234- InstallTBB
235- InstallFPGAEmu
236- ;;
237207 esac
238208 shift
239209done
0 commit comments