mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-07 13:10:56 +08:00
Updated readme [skip ci]
This commit is contained in:
@@ -682,7 +682,9 @@ If compilation fails and the output includes `warning: no such sysroot directory
|
|||||||
|
|
||||||
### Portability
|
### 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
|
```sh
|
||||||
make OPTFLAGS=""
|
make OPTFLAGS=""
|
||||||
|
|||||||
Reference in New Issue
Block a user