From 8fa90014743b06acfa27432a355f9521242286c4 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 5 Sep 2023 16:43:23 -0700 Subject: [PATCH] Improved Makefiles --- Makefile | 2 +- Makefile.win | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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