@@ -114,20 +114,16 @@ InstallIGFX () {
114
114
| grep " .*deb" \
115
115
| wget -qi -
116
116
get_release intel/compute-runtime $CR_TAG \
117
- | grep -E " .*((deb)|(sum))" \
117
+ | grep -E " .*((\. deb)|(sum))" \
118
118
| 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
125
121
get_release intel/cm-compiler $CM_TAG \
126
122
| grep " .*deb" \
127
123
| grep -v " u18" \
128
124
| wget -qi -
129
125
get_release oneapi-src/level-zero $L0_TAG \
130
- | grep " .*$UBUNTU_VER .*deb" \
126
+ | grep " .*$UBUNTU_VER .*deb$ " \
131
127
| wget -qi -
132
128
dpkg -i --force-all * .deb && rm * .deb * .sum
133
129
mkdir -p /usr/local/lib/igc/
@@ -177,33 +173,12 @@ InstallCPURT () {
177
173
fi
178
174
}
179
175
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
-
200
176
if [[ $# -eq 0 ]] ; then
201
177
echo " No options were specified. Please, specify one or more of the following:"
202
178
echo " --all - Install all Intel drivers"
203
179
echo " --igfx - Install Intel Graphics drivers"
204
180
echo " --use-dev-igc - Install development version of Intel Graphics drivers instead"
205
181
echo " --cpu - Install Intel CPU OpenCL runtime"
206
- echo " --fpga-emu - Install Intel FPGA Fast emulator"
207
182
echo " Set INSTALL_LOCATION env variable to specify install location"
208
183
exit 0
209
184
fi
@@ -221,7 +196,6 @@ while [ "${1:-}" != "" ]; do
221
196
InstallIGFX
222
197
InstallTBB
223
198
InstallCPURT
224
- InstallFPGAEmu
225
199
;;
226
200
" --igfx" )
227
201
InstallIGFX
@@ -230,10 +204,6 @@ while [ "${1:-}" != "" ]; do
230
204
InstallTBB
231
205
InstallCPURT
232
206
;;
233
- " --fpga-emu" )
234
- InstallTBB
235
- InstallFPGAEmu
236
- ;;
237
207
esac
238
208
shift
239
209
done
0 commit comments