-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: install openvino 2024 instead of 2023
Signed-off-by: hydai <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
echo "Installing OpenVINO with version 2023.0.0" | ||
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | ||
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | ||
echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu20 main" | tee /etc/apt/sources.list.d/intel-openvino-2023.list | ||
echo "Installing OpenVINO with version 2024.2.0" | ||
KEY_FILE=GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | ||
wget https://apt.repos.intel.com/intel-gpg-keys/$KEY_FILE && \ | ||
apt-key add $KEY_FILE && \ | ||
rm -f $KEY_FILE | ||
echo "deb https://apt.repos.intel.com/openvino/2024 ubuntu24 main" | tee /etc/apt/sources.list.d/intel-openvino-2024.list | ||
apt update | ||
apt upgrade -y | ||
apt search openvino | ||
apt-get -y install openvino-2023.0.2 | ||
apt-get -y install openvino-2024.2.0 | ||
export PATH=/usr/lib/x86_64-linux-gnu:$PATH | ||
ldconfig |