2024-11-02 13:13:28 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euxo pipefail
|
|
|
|
|
|
|
|
hailo_version="4.19.0"
|
|
|
|
|
|
|
|
if [[ "${TARGETARCH}" == "amd64" ]]; then
|
|
|
|
arch="x86_64"
|
|
|
|
elif [[ "${TARGETARCH}" == "arm64" ]]; then
|
|
|
|
arch="aarch64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
wget -qO- "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_version}/hailort-${TARGETARCH}.tar.gz" |
|
2024-12-02 15:35:51 +01:00
|
|
|
tar -C / -xzf -
|
2024-11-02 13:13:28 +01:00
|
|
|
|
|
|
|
mkdir -p /hailo-wheels
|
|
|
|
|
2024-12-18 17:46:21 +01:00
|
|
|
wget -P /hailo-wheels/ "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_version}/hailort-${hailo_version}-cp311-cp311-linux_${arch}.whl"
|
2024-11-02 13:13:28 +01:00
|
|
|
|