Skip to content

Commit

Permalink
Require avx2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Dec 28, 2024
1 parent c58f724 commit 63bb3b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions birdnet-go/rootfs/etc/cont-init.d/99-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# shellcheck shell=bash
set -e

if [[ "$(uname -m)" = "x86_64" && ! grep -q "avx2" /proc/cpuinfo ]]; then
bashio::log.fatal "❌ Your CPU is x86_64 but doesn't support AVX2. BirdNET-Go requires Intel Haswell (2013) or newer CPU with AVX2 support."
exit 1
fi

#################
# INITALISATION #
#################
Expand Down

0 comments on commit 63bb3b5

Please sign in to comment.