Merge branch 'main' into pr/rescore

This commit is contained in:
Alex Garcia 2026-03-31 01:12:50 -07:00
commit 45d1375602
8 changed files with 122 additions and 27 deletions

View file

@ -43,10 +43,12 @@ ifndef OMIT_SIMD
CFLAGS += -mcpu=apple-m1 -DSQLITE_VEC_ENABLE_NEON
endif
ifeq ($(shell uname -s),Linux)
ifeq ($(findstring android,$(CC)),)
ifneq ($(filter avx,$(shell grep -o 'avx[^ ]*' /proc/cpuinfo 2>/dev/null | head -1)),)
CFLAGS += -mavx -DSQLITE_VEC_ENABLE_AVX
endif
endif
endif
endif
ifdef USE_BREW_SQLITE