From c7e967823c9ab161a722087ce9d2d407ff4433ce Mon Sep 17 00:00:00 2001 From: mirito333 Date: Thu, 12 Sep 2024 12:15:27 +0900 Subject: [PATCH] fix: add ldconfg to Makefile --- Makefile | 2 ++ hack/docker/gen/main.go | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3207c28e7f..644937332c 100644 --- a/Makefile +++ b/Makefile @@ -690,11 +690,13 @@ ifeq ($(OS),linux) curl -sSL https://github.com/unum-cloud/usearch/releases/download/v$(USEARCH_VERSION)/usearch_$(OS)_$(GOARCH)_$(USEARCH_VERSION).deb -o usearch_$(OS)_$(USEARCH_VERSION).deb dpkg -i usearch_$(OS)_$(USEARCH_VERSION).deb rm usearch_$(OS)_$(USEARCH_VERSION).deb + ldconfig else ifeq ($(OS),macos) curl -sSL https://github.com/unum-cloud/usearch/releases/download/v$(USEARCH_VERSION)/usearch_macos_$(GOARCH)_$(USEARCH_VERSION).zip -o usearch_macos_$(OS)_$(USEARCH_VERSION).zip unzip usearch_macos_$(OS)_$(USEARCH_VERSION).zip sudo mv libusearch_c.dylib /usr/local/lib && sudo mv usearch.h /usr/local/include rm -rf usearch_macos_$(OS)_$(USEARCH_VERSION).zip + ldconfig endif .PHONY: cmake/install diff --git a/hack/docker/gen/main.go b/hack/docker/gen/main.go index 3c65ac4c26..3bc6c1bb9e 100644 --- a/hack/docker/gen/main.go +++ b/hack/docker/gen/main.go @@ -664,7 +664,8 @@ func main() { Preprocess: append(devContainerPreprocess, append(ciContainerPreprocess, ngtPreprocess, - faissPreprocess)...), + faissPreprocess, + usearchPreprocess)...), }, "vald-buildbase": { AppName: "buildbase",