From cb36e242890cd6fffa53fc71459508059c6c1c37 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 15 Mar 2024 14:23:04 -0700 Subject: [PATCH] Improved portability section [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd5a0f6..07b8845 100644 --- a/README.md +++ b/README.md @@ -682,7 +682,7 @@ If compilation fails and the output includes `warning: no such sysroot directory ### Portability -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=""