IntelLabs / ScalableVectorSearch

https://intellabs.github.io/ScalableVectorSearch/
GNU Affero General Public License v3.0
97 stars 14 forks source link

Fixes for GCC >12 #8

Closed hildebrandmw closed 1 year ago

hildebrandmw commented 1 year ago

Fixes for gcc >12 (#158)

GCC 12 and beyond flag their AVX intrinsic implementations as using uninitialized variables. We rely on these intrinsics both direction (/core/distance) and through eve.

When compiling for higher version of GCC, we elect to suppress these errors.

Also include several other fixes that the newer compiler version catches.

Initially, try just running CI on gcc-13 to limit CI time.

hildebrandmw commented 1 year ago

Turns out, the ubuntu-latest github runner doesn't support GCC-13 yet. Trying again with GCC-12.