Updated readme [skip ci]

This commit is contained in:
Andrew Kane
2024-03-15 14:23:56 -07:00
parent cb36e24289
commit da0ff998e9

View File

@@ -682,7 +682,9 @@ If compilation fails and the output includes `warning: no such sysroot directory
### Portability
By default, pgvector compiles with `-march=native` on some platforms for best performance. However, this can lead to `Illegal instruction` errors if trying to run the compiled extension on a different machine. To compile for portability, use:
By default, pgvector compiles with `-march=native` on some platforms for best performance. However, this can lead to `Illegal instruction` errors if trying to run the compiled extension on a different machine.
To compile for portability, use:
```sh
make OPTFLAGS=""