From 8bcab8b4d9afeef92f6cc8e3a991e650b415946e Mon Sep 17 00:00:00 2001 From: Sam Heinz Date: Fri, 19 Jun 2026 21:35:44 +1000 Subject: [PATCH] add avx check to influxdb3 (#15208) requires avx2 --- install/influxdb-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/influxdb-install.sh b/install/influxdb-install.sh index 597483885..9e4af3e53 100644 --- a/install/influxdb-install.sh +++ b/install/influxdb-install.sh @@ -32,6 +32,10 @@ fi msg_info "Installing InfluxDB v${INFLUX}" if [[ $INFLUX == "3" ]]; then + if ! grep -qm1 'avx2' /proc/cpuinfo; then + msg_error "InfluxDB v3 requires AVX2 support, which is not available on this system." + exit 106 + fi $STD apt install -y influxdb3-core systemctl enable -q --now influxdb3-core elif [[ $INFLUX == "2" ]]; then