Commit 89cd20c
committed
fix(pgvector): target x86-64-v2 for CPU portability
Without explicit CFLAGS, make detects the host CPU features (e.g. AVX-512)
and generates a .so that crashes with "signal 4: Illegal instruction"
on older x86-64 CPUs.
Pinning -march=x86-64-v2 ensures compatibility with any x86-64
processor from the last ~15 years.
Without this patch, for example you cannot install PGVector if your server
runs an Intel® i9-13900 processor.
ARM64 builds are not affected.
@moduon MT-146121 parent e79329a commit 89cd20c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments