add avx check to influxdb3 (#15208)

requires avx2
This commit is contained in:
Sam Heinz
2026-06-19 21:35:44 +10:00
committed by GitHub
parent 2f8315eebf
commit 8bcab8b4d9
+4
View File
@@ -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