diff --git a/Makefile b/Makefile index 7deff4d..1412ad7 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 90d307b..7bcae57 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