fix: auto-detect Homebrew paths for both DiskANN and HNSW backends

- Fix DiskANN CMakeLists.txt path reference
- Add macOS environment variable detection for OpenMP_ROOT
- Support both Intel (/usr/local) and Apple Silicon (/opt/homebrew) paths
This commit is contained in:
Andy Lee
2025-08-09 23:24:48 +00:00
parent e16c369bfb
commit a620c2077a
2 changed files with 13 additions and 1 deletions

View File

@@ -5,4 +5,4 @@ project(leann_backend_diskann_wrapper)
# Tell CMake to directly enter the DiskANN submodule and execute its own CMakeLists.txt
# DiskANN will handle everything itself, including compiling Python bindings
add_subdirectory(src/third_party/DiskANN)
add_subdirectory(third_party/DiskANN)