Open asg017 opened 1 year ago
Not all computers support avx2, so we should expose some compile-time option to disable it, like -DSQLITE_VSS_DISABLE_AVX2. Users have to manually edit sqlite-vss/CMakeLists.txt, which isn't great.
avx2
-DSQLITE_VSS_DISABLE_AVX2
sqlite-vss/CMakeLists.txt
So basically I added this to my build step.
sed -i 's/faiss_avx2/faiss/g' CMakeLists.txt sed -i 's/libfaiss_avx2/libfaiss/g' Makefile
Would the idea be that you add something like patch-openmp?
patch-openmp
Not all computers support
avx2
, so we should expose some compile-time option to disable it, like-DSQLITE_VSS_DISABLE_AVX2
. Users have to manually editsqlite-vss/CMakeLists.txt
, which isn't great.