Skip to content

Commit

Permalink
Trying again
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnolet committed Oct 2, 2023
1 parent 375c38e commit c4fb53c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cpp/cmake/thirdparty/get_faiss.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ function(find_and_configure_faiss)
list(APPEND RAFT_FAISS_EXPORT_GLOBAL_TARGETS faiss_avx2)
endif()



rapids_cpm_find(faiss ${PKG_VERSION}
GLOBAL_TARGETS ${RAFT_FAISS_GLOBAL_TARGETS}
CPM_ARGS
Expand All @@ -57,7 +55,7 @@ function(find_and_configure_faiss)
"FAISS_USE_CUDA_TOOLKIT_STATIC ${CUDA_STATIC_RUNTIME}"
"BUILD_TESTING OFF"
"CMAKE_MESSAGE_LOG_LEVEL VERBOSE"
"CUDAToolkit_ROOT ${CUDAToolkit_LIBRARY_DIR}"
# "CUDAToolkit_ROOT ${CUDAToolkit_LIBRARY_DIR}"
)

if(TARGET faiss AND NOT TARGET faiss::faiss)
Expand Down

0 comments on commit c4fb53c

Please sign in to comment.