From f93b76438e7857420883e3b72534dcabcc30d95c Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Sat, 10 Aug 2024 09:48:54 -0400 Subject: [PATCH] Move the usearch submodule to third_party dir. Signed-off-by: Adam Treat --- .gitmodules | 2 +- gpt4all-chat/CMakeLists.txt | 4 ++-- gpt4all-chat/{ => third_party}/usearch | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename gpt4all-chat/{ => third_party}/usearch (100%) diff --git a/.gitmodules b/.gitmodules index 98c9a214..0bb4ae91 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,5 +3,5 @@ url = https://github.com/nomic-ai/llama.cpp.git branch = master [submodule "gpt4all-chat/usearch"] - path = gpt4all-chat/usearch + path = gpt4all-chat/third_party/usearch url = https://github.com/nomic-ai/usearch.git diff --git a/gpt4all-chat/CMakeLists.txt b/gpt4all-chat/CMakeLists.txt index 08030af6..ba1f0977 100644 --- a/gpt4all-chat/CMakeLists.txt +++ b/gpt4all-chat/CMakeLists.txt @@ -293,8 +293,8 @@ target_compile_definitions(chat # usearch uses the identifier 'slots' which conflicts with Qt's 'slots' keyword target_compile_definitions(chat PRIVATE QT_NO_SIGNALS_SLOTS_KEYWORDS) -target_include_directories(chat PRIVATE usearch/include - usearch/fp16/include) +target_include_directories(chat PRIVATE third_party/usearch/include + third_party/usearch/fp16/include) if(LINUX) target_link_libraries(chat diff --git a/gpt4all-chat/usearch b/gpt4all-chat/third_party/usearch similarity index 100% rename from gpt4all-chat/usearch rename to gpt4all-chat/third_party/usearch