From bdc8d9a6a6991e44a5354ac874e28ae024d8c138 Mon Sep 17 00:00:00 2001 From: Dante Gama Dessavre Date: Tue, 10 Oct 2023 10:00:42 -0500 Subject: [PATCH] FIX ivf_flat and pq cmake variable underscores --- cpp/bench/ann/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/bench/ann/CMakeLists.txt b/cpp/bench/ann/CMakeLists.txt index 3314299ba0..502f371a25 100644 --- a/cpp/bench/ann/CMakeLists.txt +++ b/cpp/bench/ann/CMakeLists.txt @@ -64,8 +64,8 @@ else() set(RAFT_ANN_BENCH_USE_FAISS_GPU_IVF_FLAT OFF) set(RAFT_ANN_BENCH_USE_FAISS_GPU_IVF_PQ OFF) set(RAFT_ANN_BENCH_USE_FAISS_CPU_FLAT OFF) - set(RAFT_ANN_BENCH_USE_FAISS_CPU_IVFPQ OFF) - set(RAFT_ANN_BENCH_USE_FAISS_CPU_IFFLAT OFF) + set(RAFT_ANN_BENCH_USE_FAISS_CPU_IVF_PQ OFF) + set(RAFT_ANN_BENCH_USE_FAISS_CPU_IVF_FLAT OFF) else() set(RAFT_FAISS_ENABLE_GPU ON) endif() @@ -76,8 +76,8 @@ if(RAFT_ANN_BENCH_USE_FAISS_GPU_FLAT OR RAFT_ANN_BENCH_USE_FAISS_GPU_IVF_PQ OR RAFT_ANN_BENCH_USE_FAISS_GPU_IVF_FLAT OR RAFT_ANN_BENCH_USE_FAISS_CPU_FLAT - OR RAFT_ANN_BENCH_USE_FAISS_CPU_IVFPQ - OR RAFT_ANN_BENCH_USE_FAISS_CPU_IFFLAT + OR RAFT_ANN_BENCH_USE_FAISS_CPU_IVF_PQ + OR RAFT_ANN_BENCH_USE_FAISS_CPU_IVF_FLAT ) set(RAFT_ANN_BENCH_USE_FAISS ON) set(RAFT_USE_FAISS_STATIC ON)