VIM4 Downloads for MALI GPU AI

This commit is contained in:
RichardPar 2023-05-13 21:56:43 +01:00
parent e3b9998879
commit 8ab18844d0

View File

@ -29,6 +29,17 @@ apt-get -qq update
apt-get -qq install --no-install-recommends --no-install-suggests -y \ apt-get -qq install --no-install-recommends --no-install-suggests -y \
libedgetpu1-max python3-tflite-runtime python3-pycoral libedgetpu1-max python3-tflite-runtime python3-pycoral
# armNN_GPU -> arm64
# Khadas VIM4 specific at this point!
if [[ "${TARGETARCH}" == "arm64" ]]; then
wget -c "https://github.com/ARM-software/armnn/releases/download/v23.02/ArmNN-linux-aarch64.tar.gz"
mkdir /lib/armnn
tar -xf ArmNN*.tar.gz -C /lib/armnn
wget "https://dl.khadas.com/repos/vim4/pool/main/l/linux-gpu-mali-wayland/linux-gpu-mali-wayland_1.1-r37p0-202208_arm64.deb"
dpkg -i linux-gpu-mali-wayland_1.1-r37p0-202208_arm64.deb
fi
# btbn-ffmpeg -> amd64 # btbn-ffmpeg -> amd64
if [[ "${TARGETARCH}" == "amd64" ]]; then if [[ "${TARGETARCH}" == "amd64" ]]; then
mkdir -p /usr/lib/btbn-ffmpeg mkdir -p /usr/lib/btbn-ffmpeg