mirror of
https://github.com/facebookresearch/faiss.git
synced 2025-06-03 21:54:02 +08:00
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3966 This actually enables the linting. Manual changes: - tools/arcanist/lint/fbsource-licenselint-config.toml - tools/arcanist/lint/fbsource-lint-engine.toml Automated changes: `arc lint --apply-patches --take LICENSELINT --paths-cmd 'hg files faiss'` Reviewed By: asadoughi Differential Revision: D64484165 fbshipit-source-id: 4f2f6e953c94ef6ebfea8a5ae035ccfbea65ed04
26 lines
1.0 KiB
CMake
26 lines
1.0 KiB
CMake
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
add_executable(demo_imi_flat EXCLUDE_FROM_ALL demo_imi_flat.cpp)
|
|
target_link_libraries(demo_imi_flat PRIVATE faiss)
|
|
|
|
add_executable(demo_imi_pq EXCLUDE_FROM_ALL demo_imi_pq.cpp)
|
|
target_link_libraries(demo_imi_pq PRIVATE faiss)
|
|
|
|
add_executable(demo_ivfpq_indexing EXCLUDE_FROM_ALL demo_ivfpq_indexing.cpp)
|
|
target_link_libraries(demo_ivfpq_indexing PRIVATE faiss)
|
|
|
|
add_executable(demo_nndescent EXCLUDE_FROM_ALL demo_nndescent.cpp)
|
|
target_link_libraries(demo_nndescent PRIVATE faiss)
|
|
|
|
add_executable(demo_sift1M EXCLUDE_FROM_ALL demo_sift1M.cpp)
|
|
target_link_libraries(demo_sift1M PRIVATE faiss)
|
|
|
|
add_executable(demo_weighted_kmeans EXCLUDE_FROM_ALL demo_weighted_kmeans.cpp)
|
|
target_link_libraries(demo_weighted_kmeans PRIVATE faiss)
|
|
|
|
add_executable(demo_residual_quantizer EXCLUDE_FROM_ALL demo_residual_quantizer.cpp)
|
|
target_link_libraries(demo_residual_quantizer PRIVATE faiss)
|