From 8e1b5e12245ff386c6d0252d6da3b1a1c2d817ea Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Mon, 5 Jun 2023 20:10:19 +0300 Subject: [PATCH] =?UTF-8?q?Remove=20=20-ftree-vectorizer-verbose=3D0=20opt?= =?UTF-8?q?ion=20notrecognized=20by=20MaxOS/X=20c=E2=80=A6=20(#4412)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …ompiler ## Problem ## Summary of changes ## Checklist before requesting a review - [ ] I have performed a self-review of my code. - [ ] If it is a core feature, I have added thorough tests. - [ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard? - [ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section. ## Checklist before merging - [ ] Do not forget to reformat commit message to not include the above checklist --- pgxn/hnsw/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgxn/hnsw/Makefile b/pgxn/hnsw/Makefile index 9bdd87430c..79a4d90761 100644 --- a/pgxn/hnsw/Makefile +++ b/pgxn/hnsw/Makefile @@ -12,7 +12,7 @@ REGRESS_OPTS = --inputdir=test --load-extension=hnsw # For auto-vectorization: # - GCC (needs -ftree-vectorize OR -O3) - https://gcc.gnu.org/projects/tree-ssa/vectorization.html PG_CFLAGS += -O3 -PG_CPPFLAGS += -msse4.1 -O3 -march=native -ftree-vectorize -ftree-vectorizer-verbose=0 +PG_CXXFLAGS += -msse4 -mavx2 -O3 -std=c++11 PG_LDFLAGS += -lstdc++ all: $(EXTENSION)--$(EXTVERSION).sql