Skip to content

Commit

Permalink
Add hnswlib component.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Mar 5, 2024
1 parent 00b1d0e commit c101777
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions conda/recipes/libraft/build_libraft_headers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# Copyright (c) 2022-2024, NVIDIA CORPORATION.

./build.sh libraft --allgpuarch --no-nvtx -n
cmake --install cpp/build --component hnswlib
cmake --install cpp/build --component raft
6 changes: 5 additions & 1 deletion cpp/cmake/thirdparty/get_hnswlib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ function(find_and_configure_hnswlib)
"$<INSTALL_INTERFACE:include>")

if(NOT PKG_EXCLUDE_FROM_ALL)
install(TARGETS hnswlib EXPORT hnswlib-exports)
install(
TARGETS hnswlib
COMPONENT hnswlib
EXPORT hnswlib-exports
)
install(DIRECTORY "${hnswlib_SOURCE_DIR}/hnswlib/" DESTINATION include/hnswlib)

# write install export rules
Expand Down

0 comments on commit c101777

Please sign in to comment.