From ab632382d3d0531fc6c744e0948544aa358bc850 Mon Sep 17 00:00:00 2001 From: Lawson Darrow Date: Wed, 3 Jun 2026 11:08:16 -0700 Subject: [PATCH] Install missing InvertedListScannerStats.h header (#5268) Summary: Fixes https://github.com/facebookresearch/faiss/issues/5267 `faiss/impl/InvertedListScannerStats.h` is included by installed public headers (`impl/AuxIndexStructures.h` and `impl/ResultHandler.h`) but is itself missing from the `FAISS_HEADERS` install list, so building against an installed faiss fails to find it (for example COLMAP, as reported in the issue). This adds `impl/InvertedListScannerStats.h` to `FAISS_HEADERS`. There is no code change; the header is already part of the public include graph. Pull Request resolved: https://github.com/facebookresearch/faiss/pull/5268 Reviewed By: mnorris11 Differential Revision: D107271556 Pulled By: alibeklfc fbshipit-source-id: 25f9671df5e475e13f595fe30ab9ff56abd0582e --- faiss/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/faiss/CMakeLists.txt b/faiss/CMakeLists.txt index 1d89b631e..32e294443 100644 --- a/faiss/CMakeLists.txt +++ b/faiss/CMakeLists.txt @@ -272,6 +272,7 @@ set(FAISS_HEADERS impl/AdSampling.h impl/AdditiveQuantizer.h impl/AuxIndexStructures.h + impl/InvertedListScannerStats.h impl/VisitedTable.h impl/ClusteringInitialization.h impl/ClusteringHelpers.h