pgvector.git / summary / log / commit / refs
commit 8fa90014743b06acfa27432a355f9521242286c4
Author: Andrew Kane <andrew@ankane.org>
Date: Tue Sep 05 23:43:23 2023 +0000
Improved Makefiles
Makefile | 2 +-
Makefile.win | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 7deff4da..1412ad7e 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ HEADERS = src/vector.h
TESTS = $(wildcard test/sql/*.sql)
REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS))
-REGRESS_OPTS = --inputdir=test --load-extension=vector
+REGRESS_OPTS = --inputdir=test --load-extension=$(EXTENSION)
OPTFLAGS = -march=native
diff --git a/Makefile.win b/Makefile.win
index 90d307b7..7bcae57e 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -5,7 +5,7 @@ OBJS = src\hnsw.obj src\hnswbuild.obj src\hnswinsert.obj src\hnswscan.obj src\hn
HEADERS = src\vector.h
REGRESS = btree cast copy functions input ivfflat_cosine ivfflat_ip ivfflat_l2 ivfflat_options ivfflat_unlogged
-REGRESS_OPTS = --inputdir=test --load-extension=vector
+REGRESS_OPTS = --inputdir=test --load-extension=$(EXTENSION)
# For /arch flags
# https://learn.microsoft.com/en-us/cpp/build/reference/arch-minimum-cpu-architecture
[parent: 3431acef9499]